Scenario: [1.1:157]
TC0001_SLA_PER_Due_date_Extension_Approve_Respond_Deficiencies
ms: 22991
>>
Background:
3
* url BaseURL
0
18:34:03.156 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
2
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
42
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
85
* def IndOrgSelectionDropDown = 'Individual'
0
86
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
6
87
And print indOrgCode
2
18:34:03.211 [print] 1
88
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
1
89
* def CorporateStructureDropDown = 'Individual'
1
90
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
3
91
And print CorporateStructureDropDownCode
1
18:34:03.218 [print] 1
92
* def firstName = 'Automation'
1
93
* def lastName = 'Automation'
0
94
* def legalName = firstName+ ' '+lastName
3
95
* def Address1 = '#41 RoseVal St.'
0
96
* def Address2 = 'Holi District'
0
97
* def CityName = 'Spring Valley'
0
98
* def zipCode = '12345'
1
99
* def postalCode = '1234'
0
100
* def countryName = 'United States (US)'
0
101
* def emailId = 'automation@svam.com'
0
102
* def convictedOfCrime = '1'
0
103
* def percentageOfOwners = '20'
0
104
* def isFingerprintRequired = true
0
105
* def isFingerprintsApproved = true
0
106
* def isSignature = false
0
108
* def convictedOfCrime = '1'
0
109
* def PhoneNumber = '999-999-9999'
0
110
* def PhoneExtn = 1234
1
111
* def countryCode = '+91'
0
112
* def stateCode = 40
1
114
* def mainLicensePermitTypeId = 398
0
115
* def termInYears = 1
0
116
* def termDesc = 1+' Year (s)'
3
117
* def licenseFees = 51
0
118
* def fillingFees = 10
0
119
* def licAncillaryFees = 0
0
120
* def renewalFees = 0+''
0
121
* string productName = 'All night'+''
0
123
* def CountyId = 12
0
125
* def totalFees = licenseFees+fillingFees
1
126
* def splittedCityName = CityName.replaceAll(" ","")
13
127
* def SearchByLegalName = false
0
128
* def SearchByLicId = true
0
129
* def PermitType = 'Associated'
0
130
* def appType = 'NA-'
0
131
* def termInYears = 3
1
132
* def LicensePermitId = '0002-'
0
133
* def termDesc = termInYears +' Year (s)'
1
134
* call read('AmendmentsCommonMethods.feature@SearchLicPermitIdForAmendment') {}
1557
>>
karate.UseCases.AmendmentsCommonMethods
666
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
2
5
* def DbUtils = Java.type('utils.DbUtils')
9
6
* def db = new DbUtils(config)
36
7
* def getDate2 =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
17
* def date = getDate2()
8
18
* def getYearFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
27
* def fundDueDateFunc =
1
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
38
* def fundDueDate = fundDueDateFunc(7)
17
39
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
50
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
62
* def EffDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
72
* def SSNNo =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyy-MM-SSSS");
var date = new java.util.Date();
return sdf.format(date);
}
81
* def expectedEffDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
93
* def getAmendmentReviewFunc =
1
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
348
Given path '/internalapi/api/licensing/search/searchLicensesAndPermits/'
0
349
And header Content-Type = 'application/json; charset=utf-8'
0
351
And header Accept = 'application/json; text/plain;*/*'
0
352
And header authorization = 'Bearer ' + strToken
0
353
* def payload = ""
0
354
* def payloadSearchByLegalName = {"WfTaskIdList":[],"LicenseStatusList":[19,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":null,"LegalName":"%%%","FEIN":null,"applyFor":""}
0
355
* def payloadSearchByLicId = {"WfTaskIdList":[],"LicenseStatusList":[19,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"#(LicensePermitId)","LegalName":null,"FEIN":null,"applyFor":""}
1
356
* eval if ( SearchByLicId == true) payload = payloadSearchByLicId
0
357
* eval if (SearchByLegalName == true) payload = payloadSearchByLegalName
3
358
And request payload
0
359
When method post
570
18:34:04.213 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicensesAndPermits
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 201
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[19,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"0002-","LegalName":null,"FEIN":null,"applyFor":""}
18:34:04.775 response time in milliseconds: 559
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:01 GMT
1 < Content-Length: 59892
{"licenses":[{"lpId":5,"licensePermitId":"0002-22-127658","licPermitTypeId":2,"isAccociatedLicense":false,"appId":16,"mainAppId":16,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-17T00:00:00","expiryDate":"2023-09-30T00:00:00","effectiveDate":"2022-10-17T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-17T14:56:21.453","modifiedDate":null,"submitDate":"2022-10-17T14:54:56.31","description":"Wholesale Beer-Beer","county":"Queens","legalName":"Automation20221020161828Automation","fein":"","formId":1153,"isRenewalRequird":false,"dba":"DBA","associatePermits":[{"lpId":479,"mainAppId":0,"licensePermitId":"0530-22-28132","licPermitTypeId":401,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1402,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-18T10:20:55.99","isPermit":true,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-10-18T10:21:01.55","legalName":null,"description":"Sale by the bottle by wineries at State Fair","status":"Active","formId":1189,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":576,"mainAppId":0,"licensePermitId":"0503-22-28229","licPermitTypeId":374,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1680,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-19T10:02:54.81","isPermit":true,"issueDate":"2022-10-19T00:00:00","expiryDate":"2022-10-19T00:00:00","effectiveDate":"2022-10-19T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":45,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":"2022-10-20T00:27:00.673","businessEntityId":875,"premisesId":1553,"county":"Albany","submitDate":"2022-10-19T10:03:03.91","legalName":"Automation20221019193256Automation","description":"Annual brewer tasting","status":"Inactive","formId":1101,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":false},{"lpId":656,"mainAppId":0,"licensePermitId":"0503-22-28309","licPermitTypeId":374,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1881,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-20T04:43:38.8","isPermit":true,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-10-20T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":"2023-04-20T00:00:00","licensePermitStatusId":49,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":"2022-10-20T04:44:37.183","businessEntityId":1032,"premisesId":1767,"county":"Albany","submitDate":"2022-10-20T04:43:59.65","legalName":"Automation20221020141351Automation","description":"Annual brewer tasting","status":"Safekeeping Hold","formId":1101,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":false}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"6860 Austin St","addressLine2":"Ste 2","city":"Forest Hills","stateId":null,"county":"Queens","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":8,"licensePermitId":"0002-22-127661","licPermitTypeId":2,"isAccociatedLicense":false,"appId":29,"mainAppId":29,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-17T00:00:00","expiryDate":"2023-09-30T00:00:00","effectiveDate":"2022-10-17T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-17T15:53:04.267","modifiedDate":null,"submitDate":"2022-10-17T15:51:51.01","description":"Wholesale Beer-Beer","county":"Queens","legalName":"Shivani svam Qa data","fein":"","formId":1153,"isRenewalRequird":false,"dba":"ss","associatePermits":[{"lpId":12,"mainAppId":0,"licensePermitId":"0519-22-27665","licPermitTypeId":390,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":41,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-17T22:30:12.227","isPermit":true,"issueDate":"2022-10-17T00:00:00","expiryDate":"2025-09-30T00:00:00","effectiveDate":"2022-11-16T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":"2022-10-17T22:38:38.083","businessEntityId":27,"premisesId":50,"county":"Queens","submitDate":"2022-10-17T22:31:59.403","legalName":"Shivani svam Qa data","description":"Bottling- at permitted location or bonded customs warehouse","status":"Active","formId":1131,"formCategoryId":5,"isRenewalRequird":false,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":false},{"lpId":459,"mainAppId":0,"licensePermitId":"0527-22-28112","licPermitTypeId":398,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1380,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-18T10:13:48.82","isPermit":true,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-10-18T10:13:55.967","legalName":null,"description":"All night ","status":"Active","formId":1095,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":464,"mainAppId":0,"licensePermitId":"0525-22-28117","licPermitTypeId":396,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1386,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-18T10:15:32.707","isPermit":true,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-10-18T10:15:37.987","legalName":null,"description":"Caterer's","status":"Active","formId":1130,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":466,"mainAppId":0,"licensePermitId":"0534-22-28119","licPermitTypeId":405,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1389,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-18T10:16:09.517","isPermit":true,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-10-18T10:16:14.653","legalName":null,"description":"Craft beverage tasting event","status":"Active","formId":1141,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":484,"mainAppId":0,"licensePermitId":"0532-22-28137","licPermitTypeId":403,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1407,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-18T10:22:43.607","isPermit":true,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-10-18T10:23:00.003","legalName":null,"description":"Sunday on-premises sales before 10 ","status":"Active","formId":1164,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":1086,"mainAppId":0,"licensePermitId":"0522-22-28739","licPermitTypeId":393,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12674,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T15:56:53.05","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T15:57:00.367","legalName":null,"description":"State Fair concessionaire","status":"Active","formId":1091,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Forest Hills","addressLine2":"5th av","city":"New York","stateId":null,"county":"Queens","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":173,"licensePermitId":"0002-22-127826","licPermitTypeId":2,"isAccociatedLicense":false,"appId":625,"mainAppId":625,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-18T04:51:39.07","modifiedDate":null,"submitDate":"2022-10-18T04:51:07.033","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221018142100Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":481,"mainAppId":0,"licensePermitId":"0522-22-28134","licPermitTypeId":393,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1404,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-18T10:21:41.59","isPermit":true,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-10-18T10:21:46.433","legalName":null,"description":"State Fair concessionaire","status":"Active","formId":1091,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":440,"licensePermitId":"0002-22-128093","licPermitTypeId":2,"isAccociatedLicense":false,"appId":1253,"mainAppId":1253,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-18T00:00:00","expiryDate":"2023-09-30T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":"2023-05-02T00:00:00","licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-18T09:24:14.213","modifiedDate":"2022-11-02T12:58:03.273","submitDate":"2022-10-18T09:22:27.013","description":"Wholesale Beer-Beer","county":"Queens","legalName":"Greg's Test 10/18/2022","fein":"","formId":1153,"isRenewalRequird":false,"dba":"DBA","associatePermits":[{"lpId":553,"mainAppId":0,"licensePermitId":"0516-22-28206","licPermitTypeId":387,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":1579,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-10-18T12:26:28.75","isPermit":true,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-09-30T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":"2023-05-02T00:00:00","licensePermitStatusId":49,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":"2022-11-02T12:56:49.723","businessEntityId":827,"premisesId":1448,"county":"Queens","submitDate":"2022-10-18T12:27:40.747","legalName":"GREG TEmp 10/18","description":"Temporary solicitor","status":"Safekeeping Hold","formId":1145,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":false},{"lpId":1089,"mainAppId":0,"licensePermitId":"0532-22-28742","licPermitTypeId":403,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12677,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T15:58:47.573","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T15:58:54.92","legalName":null,"description":"Sunday on-premises sales before 10 ","status":"Active","formId":1164,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"6860 Austin St","addressLine2":"Ste 2","city":"Forest Hills","stateId":null,"county":"Queens","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":526,"licensePermitId":"0002-22-128179","licPermitTypeId":2,"isAccociatedLicense":false,"appId":1509,"mainAppId":1509,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-18T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-18T12:03:21.21","modifiedDate":null,"submitDate":"2022-10-18T11:59:07.537","description":"Wholesale Beer-Beer","county":"New York","legalName":"License365157628 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1139,"mainAppId":0,"licensePermitId":"0534-22-28792","licPermitTypeId":405,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12896,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:10:26.233","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:10:32.64","legalName":null,"description":"Craft beverage tasting event","status":"Active","formId":1141,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":557,"licensePermitId":"0002-22-128210","licPermitTypeId":2,"isAccociatedLicense":false,"appId":1595,"mainAppId":1577,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-18T00:00:00","expiryDate":"2023-09-30T00:00:00","effectiveDate":"2022-10-18T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-18T12:34:31.277","modifiedDate":"2022-10-18T12:47:57.583","submitDate":"2022-10-18T12:40:43.97","description":"Wholesale Beer-Beer","county":"New York","legalName":"License725360881 Automation","fein":"","formId":1184,"isRenewalRequird":false,"dba":null,"associatePermits":[{"lpId":1069,"mainAppId":0,"licensePermitId":"0525-22-28722","licPermitTypeId":396,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12655,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T15:47:49.633","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T15:47:56.04","legalName":null,"description":"Caterer's","status":"Active","formId":1130,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":567,"licensePermitId":"0002-22-128220","licPermitTypeId":2,"isAccociatedLicense":false,"appId":1633,"mainAppId":1633,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-19T00:00:00","expiryDate":"2022-11-20T00:00:00","effectiveDate":"2022-10-19T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-19T05:20:58.637","modifiedDate":null,"submitDate":"2022-10-19T05:10:08.22","description":"Wholesale Beer-Beer","county":"New York","legalName":"License219378338 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1132,"mainAppId":0,"licensePermitId":"0527-22-28785","licPermitTypeId":398,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12889,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:07:41.807","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:07:49.453","legalName":null,"description":"All night ","status":"Active","formId":1095,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":1151,"mainAppId":0,"licensePermitId":"0520-22-28804","licPermitTypeId":391,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12908,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:16:25.077","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:16:31.707","legalName":null,"description":"Reconditioning","status":"Active","formId":1126,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":568,"licensePermitId":"0002-22-128221","licPermitTypeId":2,"isAccociatedLicense":false,"appId":1634,"mainAppId":1634,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-19T00:00:00","expiryDate":"2022-11-20T00:00:00","effectiveDate":"2022-10-19T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-19T05:23:39.283","modifiedDate":null,"submitDate":"2022-10-19T05:19:26.96","description":"Wholesale Beer-Beer","county":"New York","legalName":"License460057680 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1159,"mainAppId":0,"licensePermitId":"0527-22-28812","licPermitTypeId":398,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12918,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:28:43.123","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:28:51.39","legalName":null,"description":"All night ","status":"Active","formId":1095,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":1166,"mainAppId":0,"licensePermitId":"0534-22-28819","licPermitTypeId":405,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12925,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:32:24.923","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:32:31.067","legalName":null,"description":"Craft beverage tasting event","status":"Active","formId":1141,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":591,"licensePermitId":"0002-22-128244","licPermitTypeId":2,"isAccociatedLicense":false,"appId":1738,"mainAppId":1738,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-19T00:00:00","expiryDate":"2023-09-30T00:00:00","effectiveDate":"2022-10-19T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-19T14:46:06.103","modifiedDate":null,"submitDate":"2022-10-19T14:41:51.787","description":"Wholesale Beer-Beer","county":"Queens","legalName":"Greg's TEst Priev A","fein":"","formId":1153,"isRenewalRequird":false,"dba":"AASSD","associatePermits":[{"lpId":1071,"mainAppId":0,"licensePermitId":"0534-22-28724","licPermitTypeId":405,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12659,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T15:48:46.683","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T15:49:04.99","legalName":null,"description":"Craft beverage tasting event","status":"Active","formId":1141,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":1164,"mainAppId":0,"licensePermitId":"0525-22-28817","licPermitTypeId":396,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12923,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:31:29.69","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:31:36.207","legalName":null,"description":"Caterer's","status":"Active","formId":1130,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true},{"lpId":1404,"mainAppId":0,"licensePermitId":"0515-22-29055","licPermitTypeId":386,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":13723,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-11T10:33:32.467","isPermit":true,"issueDate":"2022-11-11T00:00:00","expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-11T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":3891,"premisesId":13022,"county":"Queens","submitDate":"2022-11-11T10:34:54.863","legalName":"Greg's TEST SOL 11/11","description":"Solicitor","status":"Active","formId":1139,"formCategoryId":5,"isRenewalRequird":false,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":false}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"6860 Austin St","addressLine2":"Ste 2","city":"Forest Hills","stateId":null,"county":"Queens","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":770,"licensePermitId":"0002-22-128423","licPermitTypeId":2,"isAccociatedLicense":false,"appId":5434,"mainAppId":5434,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T09:22:39.28","modifiedDate":null,"submitDate":"2022-10-20T09:22:20.683","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020185215Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1154,"mainAppId":0,"licensePermitId":"0522-22-28807","licPermitTypeId":393,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12911,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:18:04.72","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:18:12.25","legalName":null,"description":"State Fair concessionaire","status":"Active","formId":1091,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":777,"licensePermitId":"0002-22-128430","licPermitTypeId":2,"isAccociatedLicense":false,"appId":5467,"mainAppId":5467,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T09:35:04.067","modifiedDate":null,"submitDate":"2022-10-20T09:34:45.18","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020190440Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":783,"licensePermitId":"0002-22-128436","licPermitTypeId":2,"isAccociatedLicense":false,"appId":5479,"mainAppId":5479,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T09:39:40.21","modifiedDate":null,"submitDate":"2022-10-20T09:39:19.85","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020190914Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":789,"licensePermitId":"0002-22-128442","licPermitTypeId":2,"isAccociatedLicense":false,"appId":5498,"mainAppId":5498,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T09:46:08.593","modifiedDate":null,"submitDate":"2022-10-20T09:45:50.367","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020191545Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":795,"licensePermitId":"0002-22-128448","licPermitTypeId":2,"isAccociatedLicense":false,"appId":5510,"mainAppId":5510,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T09:50:30.67","modifiedDate":null,"submitDate":"2022-10-20T09:50:10.58","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020192005Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":812,"licensePermitId":"0002-22-128465","licPermitTypeId":2,"isAccociatedLicense":false,"appId":5534,"mainAppId":5534,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T10:03:06.513","modifiedDate":null,"submitDate":"2022-10-20T10:02:45.853","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020193240Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":818,"licensePermitId":"0002-22-128471","licPermitTypeId":2,"isAccociatedLicense":false,"appId":5547,"mainAppId":5547,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T10:07:45.023","modifiedDate":null,"submitDate":"2022-10-20T10:07:25.46","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020193719Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1084,"mainAppId":0,"licensePermitId":"0530-22-28737","licPermitTypeId":401,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12672,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T15:55:40.397","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T15:55:47.32","legalName":null,"description":"Sale by the bottle by wineries at State Fair","status":"Active","formId":1189,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":835,"licensePermitId":"0002-22-128488","licPermitTypeId":2,"isAccociatedLicense":false,"appId":11731,"mainAppId":11731,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-20T00:00:00","expiryDate":"2022-11-19T00:00:00","effectiveDate":"2022-10-20T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-20T10:59:47.387","modifiedDate":null,"submitDate":"2022-10-20T10:59:24.637","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221020202918Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1083,"mainAppId":0,"licensePermitId":"0520-22-28736","licPermitTypeId":391,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12671,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T15:55:05.05","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T15:55:22.96","legalName":null,"description":"Reconditioning","status":"Active","formId":1126,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"Spring Valley","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"Spring Val","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":859,"licensePermitId":"0002-22-128512","licPermitTypeId":2,"isAccociatedLicense":false,"appId":11807,"mainAppId":11807,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-21T00:00:00","expiryDate":"2022-11-22T00:00:00","effectiveDate":"2022-10-21T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-21T07:26:14.857","modifiedDate":null,"submitDate":"2022-10-21T07:14:23.05","description":"Wholesale Beer-Beer","county":"New York","legalName":"License771617480 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1152,"mainAppId":0,"licensePermitId":"0530-22-28805","licPermitTypeId":401,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12909,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:16:50.207","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:17:08.63","legalName":null,"description":"Sale by the bottle by wineries at State Fair","status":"Active","formId":1189,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":863,"licensePermitId":"0002-22-128516","licPermitTypeId":2,"isAccociatedLicense":false,"appId":11847,"mainAppId":11847,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-10-26T00:00:00","expiryDate":"2022-11-27T00:00:00","effectiveDate":"2022-10-26T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-10-26T08:08:33.037","modifiedDate":null,"submitDate":"2022-10-26T08:04:18.34","description":"Wholesale Beer-Beer","county":"New York","legalName":"License653271889 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1064,"mainAppId":0,"licensePermitId":"0527-22-28717","licPermitTypeId":398,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12650,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T15:45:09.057","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T15:45:16.057","legalName":null,"description":"All night ","status":"Active","formId":1095,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":873,"licensePermitId":"0002-22-128526","licPermitTypeId":2,"isAccociatedLicense":false,"appId":11981,"mainAppId":11980,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-02T00:00:00","expiryDate":"2023-10-31T00:00:00","effectiveDate":"2022-11-02T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-02T04:41:07.863","modifiedDate":"2022-11-02T04:55:25.04","submitDate":"2022-11-02T04:47:37.733","description":"Wholesale Beer-Beer","county":"New York","legalName":"License932261726 Automation","fein":"","formId":1184,"isRenewalRequird":false,"dba":null,"associatePermits":[{"lpId":1157,"mainAppId":0,"licensePermitId":"0532-22-28810","licPermitTypeId":403,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12914,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:19:50.03","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:19:57.92","legalName":null,"description":"Sunday on-premises sales before 10 ","status":"Active","formId":1164,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":946,"licensePermitId":"0002-22-128599","licPermitTypeId":2,"isAccociatedLicense":false,"appId":12325,"mainAppId":12325,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-11-17T00:00:00","effectiveDate":"2022-11-07T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-07T11:45:00.147","modifiedDate":null,"submitDate":"2022-11-07T11:44:36.483","description":"Wholesale Beer-Beer","county":"New York","legalName":"Automation20221107221423Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[{"lpId":1137,"mainAppId":0,"licensePermitId":"0525-22-28790","licPermitTypeId":396,"isAccociatedLicense":false,"assoLicenseAppId":null,"permitAppId":12894,"tempPermitAppId":null,"tempAssociateLIcenseAppId":null,"amendmentAppId":null,"createdDate":"2022-11-07T23:09:40.837","isPermit":true,"issueDate":"2022-11-07T00:00:00","expiryDate":"2022-12-08T00:00:00","effectiveDate":"2022-11-08T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"modifiedDate":null,"businessEntityId":null,"premisesId":null,"county":"","submitDate":"2022-11-07T23:09:47.4","legalName":null,"description":"Caterer's","status":"Active","formId":1130,"formCategoryId":5,"isRenewalRequird":true,"isTempPermit":false,"categoryTypeId":0,"isOneTimePermit":true}],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":1353,"licensePermitId":"0002-22-129005","licPermitTypeId":2,"isAccociatedLicense":false,"appId":13379,"mainAppId":13379,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-09T00:00:00","expiryDate":"2022-12-10T00:00:00","effectiveDate":"2022-11-09T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-09T01:18:45.837","modifiedDate":null,"submitDate":"2022-11-09T01:14:09.13","description":"Wholesale Beer-Beer","county":"New York","legalName":"License34593646 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":1382,"licensePermitId":"0002-22-129033","licPermitTypeId":2,"isAccociatedLicense":false,"appId":13619,"mainAppId":13619,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-10T00:00:00","expiryDate":"2022-12-11T00:00:00","effectiveDate":"2022-11-10T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-10T06:59:54.86","modifiedDate":null,"submitDate":"2022-11-10T06:47:24.64","description":"Wholesale Beer-Beer","county":"New York","legalName":"License204029969 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":1383,"licensePermitId":"0002-22-129034","licPermitTypeId":2,"isAccociatedLicense":false,"appId":13620,"mainAppId":13620,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-10T00:00:00","expiryDate":"2022-12-11T00:00:00","effectiveDate":"2022-11-10T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-10T07:20:36.923","modifiedDate":null,"submitDate":"2022-11-10T07:08:58.65","description":"Wholesale Beer-Beer","county":"New York","legalName":"License11420026 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":1391,"licensePermitId":"0002-22-129042","licPermitTypeId":2,"isAccociatedLicense":false,"appId":13710,"mainAppId":13710,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-11T00:00:00","expiryDate":"2022-12-12T00:00:00","effectiveDate":"2022-11-11T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-11T03:51:26.077","modifiedDate":null,"submitDate":"2022-11-11T03:46:38.807","description":"Wholesale Beer-Beer","county":"New York","legalName":"License555471358 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":1406,"licensePermitId":"0002-22-129057","licPermitTypeId":2,"isAccociatedLicense":false,"appId":13726,"mainAppId":13726,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-11T00:00:00","expiryDate":"2022-12-12T00:00:00","effectiveDate":"2022-11-11T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-11T11:26:22.88","modifiedDate":null,"submitDate":"2022-11-11T11:21:43.053","description":"Wholesale Beer-Beer","county":"New York","legalName":"License110972930 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":1421,"licensePermitId":"0002-22-129072","licPermitTypeId":2,"isAccociatedLicense":false,"appId":13745,"mainAppId":13745,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-11T00:00:00","expiryDate":"2022-12-12T00:00:00","effectiveDate":"2022-11-11T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-11T14:51:58.9","modifiedDate":null,"submitDate":"2022-11-11T14:47:21.453","description":"Wholesale Beer-Beer","county":"New York","legalName":"License889419232 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null},{"lpId":1425,"licensePermitId":"0002-22-129076","licPermitTypeId":2,"isAccociatedLicense":false,"appId":13758,"mainAppId":13758,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-14T00:00:00","expiryDate":"2022-12-15T00:00:00","effectiveDate":"2022-11-14T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-14T01:40:11.703","modifiedDate":null,"submitDate":"2022-11-14T01:35:36.45","description":"Wholesale Beer-Beer","county":"New York","legalName":"License858631854 Automation","fein":"","formId":1153,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Test Colony","addressLine2":null,"city":"Test City","stateId":null,"county":"New York","zipCode":"11375","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null}],"totalRecord":28}
360
Then status 200
0
362
* def randomNum = db.getRandomNumber(response.totalRecord)
3
363
And print randomNum
1
18:34:04.785 [print] 5
364
* def licAppId = response.licenses[randomNum].appId
1
365
* def lpId = response.licenses[randomNum].lpId
0
366
* def licPermitTypeId = response.licenses[randomNum].licPermitTypeId
0
367
* def LicensePermitId = response.licenses[randomNum].licensePermitId
0
368
* def LicensePermitId = response.licenses[randomNum].licensePermitId
0
369
* def APPlicationId = response.licenses[randomNum].applicationId
5
370
And match licAppId != null
1
371
And print LicensePermitId
1
18:34:04.793 [print] 0002-22-128210
135
* call read('AmendmentsCommonMethods.feature@IntakePermit') {}
686
>>
karate.UseCases.AmendmentsCommonMethods
330
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
17
* def date = getDate2()
2
18
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
27
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
38
* def fundDueDate = fundDueDateFunc(7)
3
39
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
50
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
62
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
72
* def SSNNo =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyy-MM-SSSS");
var date = new java.util.Date();
return sdf.format(date);
}
81
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
93
* def getAmendmentReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
423
Given path '/internalapi/api/licensing/selectapptype/savenewpermitapp'
0
424
And header Content-Type = 'application/json; charset=utf-8'
0
426
And header Accept = 'application/json; text/plain;*/*'
0
427
And header authorization = 'Bearer ' + strToken
0
428
* def payload = ""
0
429
* def payloadForAssociated = {"businessType":"","permitType":"Associated Permit","mainLicenseId":'#(LicensePermitId)',"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":'#(mainLicensePermitTypeId)'}],"isNotQualified":false,"notQualifiedReason":""}
1
430
* def payloadForStandalone = {"businessType":"","permitType":"Standalone Permit","mainLicenseId":'#(LicensePermitId)',"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":'#(mainLicensePermitTypeId)'}],"isNotQualified":false,"notQualifiedReason":""}
0
431
* def payloadForTemporaryWithLicence = {"businessType":"","permitType":"Temporary Permit","mainLicenseId":'#(LicensePermitId)',"tempPermitTypeId":[{"applicationId":'#(APPlicationId)',"tempLicensePermitTypeId":'#(mainLicensePermitTypeId)'}],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":true,"newPermitTypeIds":[],"isNotQualified":false,"notQualifiedReason":""}
0
432
* def payloadForMultipleAssociate = {"businessType":"","permitType":"Associated Permit","mainLicenseId":'#(LicensePermitId)',"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":398},{"permitTypeId":386}],"isNotQualified":false,"notQualifiedReason":""}
0
433
* def payloadForTemporaryWithoutLicence = {"businessType":"","permitType":"Temporary Permit","mainLicenseId":null,"tempPermitTypeId":[{"applicationId":null,"tempLicensePermitTypeId":'#(mainLicensePermitTypeId)'}],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":true,"newPermitTypeIds":[],"isNotQualified":false,"notQualifiedReason":""}
0
434
* def payloadForAssociatedNotQualified = {"businessType":"","permitType":"Associated Permit","mainLicenseId":'#(LicensePermitId)',"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":'#(mainLicensePermitTypeId)'}],"isNotQualified":true,"notQualifiedReason":"test"}
0
435
* def payloadForMultipleStandalone = {"businessType":"","permitType":"Standalone Permit","mainLicenseId":null,"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":412},{"permitTypeId":414}],"isNotQualified":false,"notQualifiedReason":""}
0
436
* def payloadForStandAloneNotQualified = {"businessType":"","permitType":"Standalone Permit","mainLicenseId":null,"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":'#(mainLicensePermitTypeId)'}],"isNotQualified":true,"notQualifiedReason":"test"}
11
437
* def payloadForTemporaryNotQualified = {"businessType":"","permitType":"Temporary Permit","mainLicenseId":null,"tempPermitTypeId":[{"applicationId":null,"tempLicensePermitTypeId":'#(mainLicensePermitTypeId)'}],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":true,"newPermitTypeIds":[],"isNotQualified":false,"notQualifiedReason":""}
0
439
* eval if ( PermitType == 'Associated') payload = payloadForAssociated
1
440
* eval if ( PermitType == 'StandAlone') payload = payloadForStandalone
0
441
* eval if ( PermitType == 'TemporaryWithoutLicence') payload = payloadForTemporaryWithoutLicence
0
442
* eval if ( PermitType == 'MultipleAssociate') payload = payloadForMultipleAssociate
0
443
* eval if ( PermitType == 'TemporaryWithLicence') payload = payloadForTemporaryWithLicence
0
444
* eval if ( PermitType == 'AssociatedNotQualified') payload = payloadForAssociatedNotQualified
0
445
* eval if ( PermitType == 'MultipleStandalone') payload = payloadForMultipleStandalone
0
446
* eval if ( PermitType == 'StandAloneNotQualified') payload = payloadForStandAloneNotQualified
0
447
* eval if ( PermitType == 'TemporaryNotQualified') payload = payloadForTemporaryNotQualified
0
449
And print payload
1
18:34:05.177 [print] {
"businessType": "",
"permitType": "Associated Permit",
"mainLicenseId": "0002-22-128210",
"tempPermitTypeId": [
],
"mainApplicationId": "",
"associatedLicenseList": [
],
"isMainTempPermitRequired": false,
"newPermitTypeIds": [
{
"permitTypeId": 398
}
],
"isNotQualified": false,
"notQualifiedReason": ""
}
450
And request payload
0
451
When method POST
294
18:34:05.178 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewpermitapp
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 279
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessType":"","permitType":"Associated Permit","mainLicenseId":"0002-22-128210","tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":398}],"isNotQualified":false,"notQualifiedReason":""}
18:34:05.470 response time in milliseconds: 291
1 < 200
1 < Content-Length: 167
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:01 GMT
[{"appId":13803,"formId":1095,"childAppId":null,"mainApplicationId":"NA-0527-22-19014","childApplicationId":null,"licensePermitTypeId":398,"description":"All night "}]
452
Then status 200
0
453
* def appId = response[0].appId
2
454
* def formId = response[0].formId
2
455
* def description = response[0].description
1
456
* def licensePermitTypeId = response[0].licensePermitTypeId
1
457
* def ApplicationId = response[0].mainApplicationId
1
458
And print ApplicationId
1
18:34:05.478 [print] NA-0527-22-19014
459
* def currentYear = appType + getYearFunc()+'-'
2
460
And match ApplicationId contains appType
0
137
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
2834
>>
karate.UseCases.LicensesCommonMethods
434
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
1
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
3
28
* def getYearFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
1
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
1
793
When method post
417
18:34:07.906 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13803
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 912
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"#(CountyName)","city":"Spring Valley","zipCode":"10011","country":"United States (US)","stateName":"Spring Valley","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:34:08.321 response time in milliseconds: 415
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:05 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
139
* call read('AmendmentsCommonMethods.feature@UploadDocumentAmendment') {}
1111
>>
karate.UseCases.AmendmentsCommonMethods
916
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
17
* def date = getDate2()
1
18
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
27
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
38
* def fundDueDate = fundDueDateFunc(7)
2
39
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
50
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
62
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
72
* def SSNNo =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyy-MM-SSSS");
var date = new java.util.Date();
return sdf.format(date);
}
81
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
93
* def getAmendmentReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
594
* def receivedDateFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy/MM/dd");
var date = new java.util.Date();
return sdf.format(date);
}
603
* def receivedDate = receivedDateFunc()
1
605
Given path '/internalapi/api/document/UploadDocument'
0
606
And header Content-Type = 'application/json; charset=utf-8'
0
607
And header Accept = 'application/json; text/plain;*/*'
0
608
And header authorization = 'Bearer ' + strToken
0
609
And request {"documentDesc":"TestDocument.docx","acaId":'#(appId)',"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":'#(receivedDate)',"createdDate":'#(date)',"documentBase64":"data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAvJVNS8NAEIbvgv8h7FWarQoi0tSDH0cVrOB13Uzaxf1iZ9raf+8k2ihaW2mql0CyO+/77LszZHD+4mw2g4Qm+EIc5n2RgdehNH5ciIfRde9UZEjKl8oGD4VYAIrz4f7eYLSIgBlXeyzEhCieSYl6Ak5hHiJ4XqlCcor4NY1lVPpZjUEe9fsnUgdP4KlHtYYYDi6hUlNL2dULf34jSWBRZBdvG2uvQqgYrdGKmFTOfPnFpffukHNlswcnJuIBYwi50qFe+dngve6Wo0mmhOxOJbpRjjHkPKRSlkFPHZ8hXy+zgjNUldHQ1tdqMQUNiJy5s3m74pTxS/4fOYgTB9k8DzuzNDIbLRGIGBU72307+lJ5I0LFfTFSTxZ2z9BKb4SYw9P9n0XxSXwdCDfLXQoRJQ9H5yygHr8Syh73Y4REBtr5WdV/rbcOaYuLWM5rXf1Lx2bykBYW/qL5Gt11YespUnCPzkpD4JrcjzqH3orWeptDb7d/MHSf+1Z0a4bj/87ho/maS9mR/Yo+lM2PbvgKAAD//wMAUEsDBBQABgAIAAAAIQCZVX4FBAEAAOECAAALAPMBX3JlbHMvLnJlbHMgou8BKKAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArJLPSsNAEMbvgu+wzL2ZtIqINOlFhN5E4gMMu9MkmP3D7lTbt3ctiAZq0oPHnfnmm9987HpzsIN655h67ypYFiUodtqb3rUVvDZPi3tQScgZGrzjCo6cYFNfX61feCDJQ6nrQ1LZxaUKOpHwgJh0x5ZS4QO73Nn5aEnyM7YYSL9Ry7gqyzuMvz2gHnmqrakgbs0NqOYY8uZ5b7/b9Zofvd5bdnJmBfJB2Bk2ixAzW5Q+X6Maii1LBcbr51xOSCEUGRvwPNHqcqK/r0XLQoaEUPvI0zxfiimg5eVA8xGNFT/pfPhoMEd0ynaK5vY/afQ+ibcz8Zw030g4+pj1JwAAAP//AwBQSwMEFAAGAAgAAAAhAHalU6wiAQAA2wQAABwA2gB3b3JkL19yZWxzL2RvY3VtZW50LnhtbC5yZWxzIKLWACigAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACslMtqwzAQRfeF/oPRvpbttGkpkbMphWxbF7pV5PGD6mGkSVv/fUUgsUODkoU2ghmhew9XI63Wv0om32BdbzQjeZqRBLQwda9bRj6q17snkjjkuubSaGBkBEfW5e3N6g0kR3/Idf3gEq+iHSMd4vBMqRMdKO5SM4D2O42xiqMvbUsHLr54C7TIsiW1cw1Snmgmm5oRu6m9fzUO3vmytmmaXsCLETsFGs9YULFzaNSnkl6U2xaQkTSdurRHUIvUIxN6nmYRk+YHtu+A6KN2E8+sGQJ5jAlyTSxFiKaISeP+ZXLohBDyqAg4Sj/oxyFx+zpkv4xpf8195CGah5g06B8zTFnsS7pfgwz3MRkao7HiWznjOLYOQdCTL6n8AwAA//8DAFBLAwQUAAYACAAAACEAb0UNhycCAABNBgAAEQAAAHdvcmQvZG9jdW1lbnQueG1spJVNb9swDIbvA/YfDN0T22nadUacokvWoIcBRdOdB0WWbSGWKEhysuzXj/JHnH2gSJuLLYriw5eiJc/ufsoq2HFjBaiUxOOIBFwxyIQqUvL95WF0SwLrqMpoBYqn5MAtuZt//DDbJxmwWnLlAkQom+w1S0npnE7C0LKSS2rHUjADFnI3ZiBDyHPBeLgHk4WTKI6akTbAuLWYb0HVjlrS4eS/NNBcoTMHI6lD0xShpGZb6xHSNXViIyrhDsiObnoMpKQ2KukQo6MgH5K0grpXH2HOyduGLLsdaDKGhleoAZQthR7KeC8NnWUP2b1WxE5W/bq9jqeX9WBp6B5fA/Ac+VkbJKtW+evEODqjIx5xjDhHwp85eyWSCjUkftfWnGxufP02wORvgC4ua87KQK0HmriM9qi2R5Y/2W9gdU0+Lc1eJmZdUo0nULLksVBg6KZCRdiyAHc98J81meONs4Hs4N862Cd4Y2XPKYmi+yhaRFekn1rynNaV857Fw/Tz4r6JNP7h5i/culnoR/7ZTG4Atv4WWTtqHEJEhqGepqhEDT9W8IWyLQlP135V2XFl2KC0d1vO3JP5j7ZGc7H+hS78muPJZNpkKHF8fTttGH7BN+qDHeChi6ftEiOK0g3mBpwDOdgVz0+8JacZx+vr06QxcwB3Yha1a8wuHYPK4qzVlPF2TTONl/rKCF9eJRR/Eo6hyqubvs62xGbYNiMc/gPz3wAAAP//AwBQSwMEFAAGAAgAAAAhAKpSJd8jBgAAixoAABUAAAB3b3JkL3RoZW1lL3RoZW1lMS54bWzsWU2LGzcYvhf6H8TcHX/N+GOJN9hjO2mzm4TsJiVHeUaeUawZGUneXRMCJTkWCqVp6aGB3noobQMJ9JL+mm1T2hTyF6rReGzJllnabGApWcNaH8/76tH7So80nstXThICjhDjmKYdp3qp4gCUBjTEadRx7hwOSy0HcAHTEBKaoo4zR9y5svvhB5fhjohRgoC0T/kO7DixENOdcpkHshnyS3SKUtk3piyBQlZZVA4ZPJZ+E1KuVSqNcgJx6oAUJtLtzfEYBwgcZi6d3cL5gMh/qeBZQ0DYQeYaGRYKG06q2Refc58wcARJx5HjhPT4EJ0IBxDIhezoOBX155R3L5eXRkRssdXshupvYbcwCCc1Zcei0dLQdT230V36VwAiNnGD5qAxaCz9KQAMAjnTnIuO9XrtXt9bYDVQXrT47jf79aqB1/zXN/BdL/sYeAXKi+4Gfjj0VzHUQHnRs8SkWfNdA69AebGxgW9Wun23aeAVKCY4nWygK16j7hezXULGlFyzwtueO2zWFvAVqqytrtw+FdvWWgLvUzaUAJVcKHAKxHyKxjCQOB8SPGIY7OEolgtvClPKZXOlVhlW6vJ/9nFVSUUE7iCoWedNAd9oyvgAHjA8FR3nY+nV0SBvXv745uVzcProxemjX04fPz599LPF6hpMI93q9fdf/P30U/DX8+9eP/nKjuc6/vefPvvt1y/tQKEDX3397I8Xz1598/mfPzyxwLsMjnT4IU4QBzfQMbhNEzkxywBoxP6dxWEMsW7RTSMOU5jZWNADERvoG3NIoAXXQ2YE7zIpEzbg1dl9g/BBzGYCW4DX48QA7lNKepRZ53Q9G0uPwiyN7IOzmY67DeGRbWx/Lb+D2VSud2xz6cfIoHmLyJTDCKVIgKyPThCymN3D2IjrPg4Y5XQswD0MehBbQ3KIR8ZqWhldw4nMy9xGUObbiM3+XdCjxOa+j45MpNwVkNhcImKE8SqcCZhYGcOE6Mg9KGIbyYM5C4yAcyEzHSFCwSBEnNtsbrK5Qfe6lBd72vfJPDGRTOCJDbkHKdWRfTrxY5hMrZxxGuvYj/hELlEIblFhJUHNHZLVZR5gujXddzEy0n323r4jldW+QLKeGbNtCUTN/TgnY4iU8/Kanic4PVPc12Tde7eyLoX01bdP7bp7IQW9y7B1R63L+Dbcunj7lIX44mt3H87SW0huFwv0vXS/l+7/vXRv28/nL9grjVaX+OKqrtwkW+/tY0zIgZgTtMeVunM5vXAoG1VFGS0fE6axLC6GM3ARg6oMGBWfYBEfxHAqh6mqESK+cB1xMKVcng+q2eo76yCzZJ+GeWu1WjyZSgMoVu3yfCna5Wkk8tZGc/UItnSvapF6VC4IZLb/hoQ2mEmibiHRLBrPIKFmdi4s2hYWrcz9Vhbqa5EVuf8AzH7U8NyckVxvkKAwy1NuX2T33DO9LZjmtGuW6bUzrueTaYOEttxMEtoyjGGI1pvPOdftVUoNelkoNmk0W+8i15mIrGkDSc0aOJZ7ru5JNwGcdpyxvBnKYjKV/nimm5BEaccJxCLQ/0VZpoyLPuRxDlNd+fwTLBADBCdyretpIOmKW7XWzOZ4Qcm1KxcvcupLTzIaj1EgtrSsqrIvd2LtfUtwVqEzSfogDo/BiMzYbSgD5TWrWQBDzMUymiFm2uJeRXFNrhZb0fjFbLVFIZnGcHGi6GKew1V5SUebh2K6PiuzvpjMKMqS9Nan7tlGWYcmmlsOkOzUtOvHuzvkNVYr3TdY5dK9rnXtQuu2nRJvfyBo1FaDGdQyxhZqq1aT2jleCLThlktz2xlx3qfB+qrNDojiXqlqG68m6Oi+XPl9eV2dEcEVVXQinxH84kflXAlUa6EuJwLMGO44Dype1/Vrnl+qtLxBya27lVLL69ZLXc+rVwdetdLv1R7KoIg4qXr52EP5PEPmizcvqn3j7UtSXLMvBTQpU3UPLitj9falWtv+9gVgGZkHjdqwXW/3GqV2vTssuf1eq9T2G71Sv+E3+8O+77Xaw4cOOFJgt1v33cagVWpUfb/kNioZ/Va71HRrta7b7LYGbvfhItZy5sV3EV7Fa/cfAAAA//8DAFBLAwQUAAYACAAAACEABWtlBKYDAACtCQAAEQAAAHdvcmQvc2V0dGluZ3MueG1stFbbbts4EH0vsP9g6HkVS/KlqVCncO11myLeLir3AyiRsonwBpKy4hb99w4pMXLSReHdok8m58yNM2dGfv3mgbPRkWhDpVhE6VUSjYioJKZiv4g+7zbxdTQyFgmMmBRkEZ2Iid7c/PHidZsbYi2omRG4ECbn1SI6WKvy8dhUB8KRuZKKCABrqTmycNX7MUf6vlFxJblClpaUUXsaZ0kyj3o3chE1WuS9i5jTSksja+tMclnXtCL9T7DQl8TtTNayajgR1kcca8IgBynMgSoTvPH/6w3AQ3By/NkjjpwFvTZNLnhuKzV+tLgkPWegtKyIMdAgzkKCVAyBpz84eox9BbH7J3pXYJ4m/nSe+ey/OcieOTDskpd00B0tNdIdT/pn8Cq/3QupUcmAlfCcEWQU3QAtv0jJR22uiK6gN8DpJInGDoCKyLqwyBKAjSKMeZJXjCBw2OZ7jTjQM0i8DSY1apjdobKwUoHSEUHeL7PeZXVAGlWW6EKhCrytpLBasqCH5d/SroDqGjrRW3jiD6eiGyKwEIjDS54MxlZi4jJrNL282M7AR4d6nIV8HkjC0GuKyc5VsLAnRjaQfEG/kKXAHxpjKXj04/ELGfwsASJc5I/Q891JkQ1BtoEy/aZgvhMbRtWWai31rcDAjd8WjNY10RCAAte2QB+qZevr/J4gDLv2F+OOz2kEmxubcPgkpQ2qSbJMklUy6TJ16CXIajN9tVr2UXrfPHe77R8dTo4oI95ZrBAvNUWjrdt+Y6dR6vu3VAS8JDDO5BwpmjKAcdwBhiPGNjBJAfDjxXNMjVqT2p/ZFun94LfX0P8qhan98OjLbQGi32nZqA5tNVIdAYJKOp32llTYO8qD3DRlEawELKAzqBH441H7Og3laXMLjfSDdIc8IbwuEfHnoicM04VrNtkipTrOlPt0ETG6P9jUtdnCDcNH0l/KfdZjmceyDvMXVLmXgXZ/GGRZkJ3pTYJsMsimQTYdZLMgmw2yeZDNnewA06phdd4DfcPRyWvJmGwJfj/gP4i6IpgDUmTdbVagl+wE/ao1o2NOHmBvE0wt/PdQFHP04NZ4NnfmvTZDJ9nYJ7oOc8rqqQeMLAqD88TYU/xZLm7jVxToWJx4OSzyqy5xRg0Mu4Kdb6UO2J8eS2f+Y2B3wOJ7aOwnUr9FhuAew7K6xe4T1dl8nWz+Wl+naRIv02UaT7NsEl+/TNfxcpXOX22uJ6v5LP3WT2H4n3XzHQAA//8DAFBLAwQUAAYACAAAACEAnXtOcaoBAADtBAAAEgAAAHdvcmQvZm9udFRhYmxlLnhtbNySzWrjMBSF9wPzDkb7xrKTtB1Tp9CZBgrDLIb2ARRFti/Vj9FV4snb90p20kUoNJsuxgYhnSN9ujrcu/t/Rmd75RGcrVkx4yxTVrot2LZmL8/rq1uWYRB2K7SzqmYHhex+9f3b3VA1zgbM6LzFysiadSH0VZ6j7JQROHO9smQ2zhsRaOnb3Aj/uuuvpDO9CLABDeGQl5xfswnjP0NxTQNS/XJyZ5QN6XzulSais9hBj0fa8Bna4Py2904qRHqz0SPPCLAnTLE4AxmQ3qFrwoweM1WUUHS84Glm9DtgeRmgPAGMrJ5a67zYaAqfKskIxlZT+tlQWWHI+Ck0bDwkoxfWoSrI2wtdM17yNV/SGP8Fn8eR5XGj7IRHFSHjRj7KjTCgD0cVB0AcjR6C7I76XniIRY0WQkvGDje8Zo8LzsvH9ZqNSkHVcVIWNw+TUsa70vdjUuYnhUdFJk5aFiNHJs5pD92ZjwmcJfEMRmH2Rw3ZX2eE/SCRkl9TEkvKIyYzvygRn7gXJRLff5bIze3ySxKZeiP7DW0XPuyQ2Bf/aYdME1y9AQAA//8DAFBLAwQUAAYACAAAACEAW239kwkBAADxAQAAFAAAAHdvcmQvd2ViU2V0dGluZ3MueG1slNHBSgMxEAbgu+A7LLm32RYVWbotiFS8iKA+QJrOtsFMJsykrvXpHWutSC/1lkkyHzP8k9k7xuoNWAKl1oyGtakgeVqGtGrNy/N8cG0qKS4tXaQErdmCmNn0/GzSNz0snqAU/SmVKkka9K1Zl5Iba8WvAZ0MKUPSx44YXdGSVxYdv27ywBNmV8IixFC2dlzXV2bP8CkKdV3wcEt+g5DKrt8yRBUpyTpk+dH6U7SeeJmZPIjoPhi/PXQhHZjRxRGEwTMJdWWoy+wn2lHaPqp3J4y/wOX/gPEBQN/crxKxW0SNQCepFDNTzYByCRg+YE58w9QLsP26djFS//hwp4X9E9T0EwAA//8DAFBLAwQUAAYACAAAACEAON+1jWoBAADAAgAAEAAIAWRvY1Byb3BzL2FwcC54bWwgogQBKKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACcUstOwzAQvCPxD1HurVMECKGtK9QKceBRqWl7tpxNYuHYlu1W7d+zadoQ4EZOO7O7o9mJYXZodLJHH5Q103QyztIEjbSFMtU0XefPo4c0CVGYQmhrcJoeMaQzfn0FS28d+qgwJCRhwjStY3SPjAVZYyPCmNqGOqX1jYgEfcVsWSqJCyt3DZrIbrLsnuEhoimwGLleMO0UH/fxv6KFla2/sMmPjvQ45Ng4LSLy93ZTA+sJyG0UOlcN8ozoHsBSVBj4BFhXwNb6IrQzXQHzWnghI0XHb4ENEDw5p5UUkSLlb0p6G2wZk4+Tz6TdBjYcAfK+QrnzKh5b/SGEV2U6F11BrryovHD12VqPYCWFxjldzUuhAwL7JmBuGycMybG+Ir3PsHa5XbQpnFd+koMTtyrWKyck/jp2wMOKWCzIfW+gJ+CF/oPXrTrtmgqLy8zfRhvfpnuQfHI3zug75XXh6Or+pfAvAAAA//8DAFBLAwQUAAYACAAAACEATYLc3nMBAADhAgAAEQD/AGRvY1Byb3BzL2NvcmUueG1sIKL7ACigAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnFLLTsMwELwj8Q+R74mTFKEqSlLxKheKkAgCcTP2tjVNbMt2m/bvcZImbQQnJB+8O7Ozu2Ons31VejvQhkuRoSgIkQeCSsbFKkNvxdyfIs9YIhgppYAMHcCgWX55kVKVUKnhRUsF2nIwnlMSJqEqQ2trVYKxoWuoiAkcQzhwKXVFrAv1CitCN2QFOA7Da1yBJYxYghtBXw2K6CjJ6CCptrpsBRjFUEIFwhocBRE+cS3oyvxZ0CJnzIrbg3I7Hcc912a0Awf23vCBWNd1UE/aMdz8Ef5YPL22q/pcNF5RQHnKaGK5LSFP8enqbmb79Q3UdukhcADVQKzU+c3jw3PRFvWZxusNHGqpmXF1o8gVMjBUc2XdC3aqo4Rjl8TYhXvSJQd2e+gb/AaaPhp2vPkLedw2GkK3T2tfNyYwzxmSdPb1yPvk7r6YozwO48gPY3eKcJpcTZMw/Gz2GdU3BnWJ6jjZvxV7gc6a8afMfwAAAP//AwBQSwMEFAAGAAgAAAAhAAtGahAbCwAABHAAAA8AAAB3b3JkL3N0eWxlcy54bWy8nV1z27oRhu870//A0VV7kcjyZ+I5zhnbiWtP4xyfyGmuIRKyUIOEyo/Y7q8vAFIS5CUoLrj1lS1R+wDEuy+I5Yf02+/PqYx+8bwQKjsbTd7vjSKexSoR2cPZ6Mf91bsPo6goWZYwqTJ+Nnrhxej3T3/9y29Pp0X5InkRaUBWnKbx2WhRlsvT8biIFzxlxXu15JneOFd5ykr9Mn8Ypyx/rJbvYpUuWSlmQoryZby/t3c8ajB5H4qaz0XMP6u4SnlW2vhxzqUmqqxYiGWxoj31oT2pPFnmKuZFoXc6lTUvZSJbYyaHAJSKOFeFmpfv9c40PbIoHT7Zs/+lcgM4wgH214A0Pr15yFTOZlKPvu5JpGGjT3r4ExV/5nNWybIwL/O7vHnZvLJ/rlRWFtHTKStiIe51yxqSCs27Ps8KMdJbOCvK80Kw1o0L80/rlrgonbcvRCJGY9Ni8V+98ReTZ6P9/dU7l6YHW+9Jlj2s3uPZux9TtyfOWzPNPRux/N303ASOmx2r/zq7u3z9yja8ZLGw7bB5yXVmTY73DFQKk8j7Rx9XL75XZmxZVaqmEQuo/66xYzDiOuF0+k1rF+itfP5VxY88mZZ6w9nItqXf/HFzlwuV60w/G320beo3pzwV1yJJeOZ8MFuIhP9c8OxHwZPN+39e2Wxt3ohVlen/D04mNgtkkXx5jvnS5L7emjGjyTcTIM2nK7Fp3Ib/ZwWbNEq0xS84MxNANHmNsN1HIfZNROHsbTuzerXv9lOohg7eqqHDt2ro6K0aOn6rhk7eqqEPb9WQxfw/GxJZwp9rI8JmAHUXx+NGNMdjNjTH4yU0x2MVNMfjBDTHk+hojieP0RxPmiI4pYp9Wegk+4En27u5u48RYdzdh4Qw7u4jQBh394Qfxt09v4dxd0/nYdzds3cYd/dkjefWS63oRtssKwe7bK5UmamSRyV/Hk5jmWbZqoiGZw56PCfZSQJMPbM1B+LBtJjZ17szxJo0/HhemkIuUvNoLh6qXBfTQzvOs19c6rI2YkmieYTAnJdV7hmRkJzO+ZznPIs5ZWLTQU0lGGVVOiPIzSV7IGPxLCEevhWRZFJYJ7SunxfGJIIgqVMW52p41xQjmx++imL4WBlIdFFJyYlY32hSzLKG1wYWM7w0sJjhlYHFDC8MHM2ohqihEY1UQyMasIZGNG51flKNW0MjGreGRjRuDW34uN2LUtop3l11TPqfu7uUypzHHtyPqXjImF4ADD/cNOdMozuWs4ecLReROSvdjnX3GdvOhUpeonuKY9qaRLWutylyqfdaZNXwAd2iUZlrzSOy15pHZLA1b7jFbvUy2SzQrmnqmWk1K1tNa0m9TDtlsqoXtMPdxsrhGbYxwJXICzIbtGMJMvibWc4aOSlmvk0vh3dswxpuq9ezEmn3GiRBL6WKH2mm4euXJc91WfY4mHSlpFRPPKEjTstc1bnmWn7fStLL8l/S5YIVwtZKW4j+h/rVFfDoli0H79CdZCKj0e3Lu5QJGdGtIK7vb79G92ppykwzMDTAC1WWKiVjNmcC//aTz/5O08FzXQRnL0R7e050esjCLgXBQaYmqYSIpJeZIhMkx1DL+yd/mSmWJzS0u5zXN52UnIg4ZemyXnQQeEvPi096/iFYDVnev1guzHkhKlPdk8Cc04ZFNfs3j4dPdd9URHJm6I+qtOcf7VLXRtPhhi8TtnDDlwhWTX14MPlLsLNbuOE7u4Wj2tlLyYpCeC+hBvOodnfFo97f4cVfw1NS5fNK0g3gCkg2gisg2RAqWaVZQbnHlke4w5ZHvb+EKWN5BKfkLO8fuUjIxLAwKiUsjEoGC6PSwMJIBRh+h44DG36bjgMbfq9ODSNaAjgwqjwjPfwTXeVxYFR5ZmFUeWZhVHlmYVR5dvA54vO5XgTTHWIcJFXOOUi6A01W8nSpcpa/ECG/SP7ACE6Q1rS7XM3N0wgqq2/iJkCac9SScLFd46hE/slnZF0zLMp+EZwRZVIqRXRubXPAsZHb967tCrNPcgzuwp1kMV8omfDcs0/+WF0vT+vHMl5333aj12nPr+JhUUbTxfpsv4s53tsZuSrYt8J2N9g25ser51nawm55Iqp01VH4MMXxQf9gm9FbwYe7gzcria3Io56RsM3j3ZGbVfJW5EnPSNjmh56R1qdbkV1++Mzyx9ZEOOnKn3WN50m+k64sWge3NtuVSOvIthQ86cqiLatE53FsrhZAdfp5xh/fzzz+eIyL/BSMnfyU3r7yI7oM9p3/EubIjpk0bXvruyfAvG8X0b1mzj8rVZ+337rg1P+hrhu9cMoKHrVyDvpfuNqaZfzj2Hu68SN6zzt+RO8JyI/oNRN5w1FTkp/Se27yI3pPUn4EeraCRwTcbAXjcbMVjA+ZrSAlZLYasArwI3ovB/wItFEhAm3UASsFPwJlVBAeZFRIQRsVItBGhQi0UeECDGdUGI8zKowPMSqkhBgVUtBGhQi0USECbVSIQBsVItBGDVzbe8ODjAopaKNCBNqoEIE2ql0vDjAqjMcZFcaHGBVSQowKKWijQgTaqBCBNipEoI0KEWijQgTKqCA8yKiQgjYqRKCNChFoo9aPGoYbFcbjjArjQ4wKKSFGhRS0USECbVSIQBsVItBGhQi0USECZVQQHmRUSEEbFSLQRoUItFHtxcIBRoXxOKPC+BCjQkqIUSEFbVSIQBsVItBGhQi0USECbVSIQBkVhAcZFVLQRoUItFEhois/m0uUvtvsJ/iznt479vtfumo69d19lNtFHfRHrXrlZ/V/FuFCqceo9cHDA1tv9IOImRTKnqL2XFZ3ufaWCNSFzz8uu5/wcekDv3SpeRbCXjMF8MO+keCcymFXyruRoMg77Mp0NxKsOg+7Zl83EhwGD7smXevL1U0p+nAEgrumGSd44gnvmq2dcDjEXXO0EwhHuGtmdgLhAHfNx07gUWQm59fRRz3H6Xh9fykgdKWjQzjxE7rSEmq1mo6hMfqK5if0Vc9P6Cujn4DS04vBC+tHoRX2o8KkhjbDSh1uVD8BKzUkBEkNMOFSQ1Sw1BAVJjWcGLFSQwJW6vDJ2U8IkhpgwqWGqGCpISpMangow0oNCVipIQEr9cADshcTLjVEBUsNUWFSw8UdVmpIwEoNCVipISFIaoAJlxqigqWGqDCpQZWMlhoSsFJDAlZqSAiSGmDCpYaoYKkhqktqexZlS2qUwk44bhHmBOIOyE4gbnJ2AgOqJSc6sFpyCIHVEtRqpTmuWnJF8xP6qucn9JXRT0Dp6cXghfWj0Ar7UWFS46qlNqnDjeonYKXGVUteqXHVUqfUuGqpU2pcteSXGlcttUmNq5bapA6fnP2EIKlx1VKn1LhqqVNqXLXklxpXLbVJjauW2qTGVUttUg88IHsx4VLjqqVOqXHVkl9qXLXUJjWuWmqTGlcttUmNq5a8UuOqpU6pcdVSp9S4askvNa5aapMaVy21SY2rltqkxlVLXqlx1VKn1LhqqVNqT7U0ftr6ASbDtj9Ipj9cviy5+Q5u54GZpP4O0uYioP3gTbL+oSQTbHoSNT9J1bxtO9xcMKxbtIGwqXih24qbb0/yNNV8C+r6MR77HaivG/Z8VartyGYIVp9uhnRzKbT+3NZlz85+l2bIO/psJekco1o1Xwc/Nmm4q4e6PzNZ/2iX/ucmSzTgqfnBqrqnyTOrUXr7JZfyltWfVkv/RyWfl/XWyZ59aP7V9ln9/W/e+NxOFF7AeLsz9cvmh8M8411/I3xzBdubksYNLcNtb6cYOtKbvq3+Kz79DwAA//8DAFBLAwQUAAYACAAAACEASnSMYcoIAAD3LgAAEwAoAGN1c3RvbVhtbC9pdGVtMS54bWwgoiQAKKAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7Frdk5s4En/fqv0fKO7Zxjb2+KPibE3Gyd3UZZLUjnfv3rZkSdhcMDggZjz//bUQEkIYG7CvbuvqkocErG51/9Tf4t0vx31gvdA48aNwaQ/7A9uiIY6IH26Xdsq83sz+5f07zBY4ChkN2frtQJ/xju6RBS//WNq2tUfqX23RF7SnS3sV4XQPZNkq7dfH1dIeHAdD+Du4m07md58+Pkznk/FgOHZn89Wn6YepOxu47sP9amLS/q6kHZo/rWiCY//AMmUeYooYtZAV0leL5IL0TZJnHB1A0Ox1jgMXbnrn0cFgM/fohHojd4gRJUN3gscuHbnuDNsWABcmC8yW9o6xw8JxkgyWpL/3cRwlkcf6ONo7kef5mDoj0NPZU4YIYsjRkJCM9qgLo0MM0sfMp0nG/J6x2N+kjCb2+59/endMyEJIZTEUbynjh5IcEAaF2wtd7JWBFUcR6M7ilGaPnk8DknDovDly8WwzmIwJ3nh3YzydwrkOp/iOTudkBIcWJiNhMmHiiv8IMEFeJdjr62v/1e1H8ZZjN3T++fRZ2J0E7Jg0X3tQS1sckq6vkA/kBsuYzt3RaDPpjQjZ9MabKeqh0d1dD88H2J2guwkZgIqSwAU8xuMxxWjSG5DJrDd2B6g3G4+GPW8yG8znQzwCWNRx+ftDFDMrLA6q0X6OPO4qfaPtFT0NKPfXTIClrUEgNwCbPgT0yOOAfJXQHykEDfVc5iE97wmFaJsxV8qe4IWCQLKVbGLqLW1uMk+U+OiZxi/gUE+5K4Ht+eFXjNMYzGFgV/Q4SfwJJawlA3fxvEMxJf/w2e63BCJQw411uhXI7AdNKcv63qcsWqNtN+KvD782FLe86V9pSGPEo+na33M3bw/1xxewpr+hZPcQkW4cuOZ/p2/fIj9k3dS/jnoFSWSNvtPwlP4OD7G5zWb/N0w6e5cbMrfr7Fn3l+ZEWXaRvlEX1RsFCysX6FMU71fUQ2kAgfxHigIfgjiRses/FozJvojcl8NxNXw4DGIPWIIIsQfcLLb7oRcdENvxbDJ1vqGYgW0/QFETR+CSEtdq+GycJ2sFVTGpG/PzgivmMlryzLG0a0IlWvghocelPYMk7AcB2gSwWOVw4ieHAL2J0q2Wxc4nhEKxqMjAMWkcouACHZRj5GsYvOWUEvIEYAmonk9imkAZg3ncsTYoAQnBZBZfIkZFfBdOVCIz/Yy7ZT0iRvxXqMzboVJh0wKZCu2fBx0t1ShkhqPL0OTpidPU2UOJ9ZUar+mR3cgeRH4slHUvK/vxyGKEGSVWJgdvgurVlvyv1DjzAOk2e3T8TMMt21kvKEjBR0aTiQaH5kOc4mqXqZQCBVrjy2jpseQEpxZ+c4L6SlRvaEdmsVNgBE1sm3hbZdQCoirxnwchs5grELprh1CVUQuEqsRXInTD3KQXqwU608vomIR1Mbi87haK/5dCkl6YF0i1rGzKTFrYUJnwShhbxSARyxu1A416//+3A//z7UB1dlE4DEx8L6UmQW7x2Qc0wZxUDy6nmNf4g9Ed8yo9f8U7MZgUyFACtR0N+UxaawD42OUJelVfdWt6I12t+Pn6R+j6jL4dFDjKgVEabqIUOiKiWJ6Q8Pwuq6Jnsi3emS5tLgrvYMKtsXVNs3aPMUjBHqH1Fgx4u5NJD29KMxfzpM4z5D2VZHleJhFStDFe9sLAInt3cZahTk6VndUTbsK9ep6FnRWDtMKM+Vj5QkermbFVZnHanPU1NQbdqnmVxn3z0l0cX6OMYIwz4PYghDmKB5MgxJJs2g7XA99hUFu5sYhpTxsHX0oaSN5ElIZMaaiNmTZBhL+r+dNfYIqWz3QqA53uUooZEdiS4tngXsG/vLjnhwlDMPOWYyhSjKEOaRxkSBLs5O6SOMP+0CnWgr1pQzCdIPtFrYxgqKSEOT0rk7HYiTZFFKudNOlbGbIJ9p8jnA181a4k3QQ+3AjGNNMpF8IBYBPnB2gI4zTXGYydwcghuA9IFzP4RlJIhW+xfcarLEN5CMTV+KauzGRsfFj/Yfyg4qoWAvMrkepi6dZ1VxcELzCEDxbFZjTXMtGwgE2KnF1dEJgxgK0IDnw4W84HjTgsfJjXMT7cbSmBmCWWLivPbH8q+6n4DFUGFA6lAWOe8q0sTSnEDe0XzGeBeXGgp3BxB5yPNWEUYe6yzuhr2Sfp5l8Us264kuK6uR0DAex3+vYaxcS81DC0q9QUtboEKNymELq7yAJeT7dR/HaWtnrCFVmEZvlF+m2YxfTF56VgS27KLcMwYllMk2/kpF6+tGr+rHd+IqZrFtiXzyFKLLajVpjuNzS2Is9K0Au8i2JLCpn0rTWsQIdDwAl4BQtMYBp3iKCehXG7BbnWSg8Efgu3wE1tgTzwdIsivFPM+j//dEo0Mc0ztRBvUUlbs2SrFlUBvwqFzz34zc+Hq0+/FLL2Oduz51ZjQHnMeYaDSzv5R6b5pYs5kXOEWVz1ocT5O5ob1Eq3vOvKL84afT+RYyODsvDub3D9De6Y/6alSImk1kgcE3UPkxnHAS9KHVMpn7znNizXG1tLaq1Z6kor+qLz1FwQvfHjz4am9bIKmEp6yiguG8NzqgpyTdHOxELT9uQfVg/3SRJhH0Ie+Qi1A3vrfNzAK+dQX7tofbhpAuZBwDmo3gICJXwaAiYlNvgiP5qxBbpqXW5K6vkEXWOS57eE0f1jXv7zLRuTSkghKdTRNTKzQg9hKab2Kk2XjU2RVeAw2cjCmPuAmGNcAlRwOIFNR1lMqBqyKcepwvJyjQ0HNlwcHiV92a5Kjnw+bNTykAbzK/VozD+WMrLiuXhQluaR8JJX/xKnDS3c43amhWvRzrS8Mu8q8+QSrRkjGnmRPGvd+Esn3T5sCkc8cdSdWfGz7k4Mh92dGE67OzEcd3diOO/2xGveJndOUpy6+az4Uo7qYH9KgK6hijP4wrNRez/L9iaXCG/gZIWM3c63mJCbmSl3Zg5eJqeahTqnPl1//28AAAD//wMAUEsDBBQABgAIAAAAIQB0Pzl6wgAAACgBAAAeAAgBY3VzdG9tWG1sL19yZWxzL2l0ZW0xLnhtbC5yZWxzIKIEASigAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhM/BigIxDAbgu+A7lNydzngQkel4WRa8ibjgtXQyM8VpU5oo+vYWTyss7DEJ+f6k3T/CrO6Y2VM00FQ1KIyOeh9HAz/n79UWFIuNvZ0pooEnMuy75aI94WylLPHkE6uiRDYwiaSd1uwmDJYrShjLZKAcrJQyjzpZd7Uj6nVdb3T+bUD3YapDbyAf+gbU+ZlK8v82DYN3+EXuFjDKHxHa3VgoXMJ8zJS4yDaPKAa8YHi3mqrcC7pr9cd/3QsAAP//AwBQSwMEFAAGAAgAAAAhAD0ogF+2AAAAyQAAABgAKABjdXN0b21YbWwvaXRlbVByb3BzMi54bWwgoiQAKKAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI3BCsIwEETvgv8Q9h5TG2tVjFKpBe8KXkO6rYVmV5oogvjv5jTMPJi3P378KN44hYHJwHKRgUBy3A7UG7hdG7kBEaKl1o5MaIAYjof5bN+GXWujDZEnvET0Ig1Dyktt4LstdZmdGy11rUu5yotGVlVxkvm6qHS+rJrTefUDkdSUboKBR4zPnVLBPdDbsOAnUoIdT97GVKdecdcNDmt2L48UVZ5la+VeSe/vfgR1+AMAAP//AwBQSwMEFAAGAAgAAAAhAL2EYiOQAAAA2wAAABMAKABjdXN0b21YbWwvaXRlbTIueG1sIKIkACigIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGyOOw7CMBAFr4LSky3o0OI0gQpR5QLGOIqlrNfyLh/fHgdBgZR6nmYediS8dRzVRx1K8p3BE2caPKXZqpfNi+Yoh2ZSTXsAcZMnKy0Fl1l41NYxgUw2+8QhKjx28LVptcFYXdIY7INUXzE9uzvV1Dlcs81lSSH8IB5vQdcnH4IX/1zHC0D4O27eAAAA//8DAFBLAwQUAAYACAAAACEApxCnGbYAAADJAAAAGAAoAGN1c3RvbVhtbC9pdGVtUHJvcHMxLnhtbCCiJAAooCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjcEKwjAQRO+C/xD2HpPaWqsYRdoK3hW8hnSrhWZXmiiC+O/mNMw8mLc7fPwo3jiFgclAttAgkBx3A90NXC8nWYEI0VJnRyY0QAyH/Xy268K2s9GGyBOeI3qRhiHluTHwbfPjssiaWpbrrJZF3m5k1epabrJVVef6VJSN/oFIako3wcAjxudWqeAe6G1Y8BMpwZ4nb2Oq011x3w8OG3YvjxTVUutSuVfS+5sfQe3/AAAA//8DAFBLAwQUAAYACAAAACEAXJYnIsMAAAAoAQAAHgAIAWN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVscyCiBAEooAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITPwWrDMAwG4Huh72B0X5z2MEqJ00sZ5DZGC70aR0lMY8tYSmnffqanFgY7SkLfLzWHe5jVDTN7igY2VQ0Ko6Pex9HA+fT1sQPFYmNvZ4po4IEMh3a9an5wtlKWePKJVVEiG5hE0l5rdhMGyxUljGUyUA5WSplHnay72hH1tq4/dX41oH0zVdcbyF2/AXV6pJL8v03D4B0eyS0Bo/wRod3CQuES5u9MiYts84hiwAuGZ2tblXtBt41++6/9BQAA//8DAFBLAwQUAAYACAAAACEAf4tDw8EAAAAiAQAAEwAoAGN1c3RvbVhtbC9pdGVtMy54bWwgoiQAKKAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfM8xT8NADIbhvxLd3nNaJEBRkg6sVEJiYbUuvuSknn06u6Q/H4KgMLF5eZ9P7o/XfG7eqWoSHtzet64hDjIlngd3sbh7dMexL12pUqhaIm0+C9auDG4xKx2AhoUyqs8pVFGJ5oNkkBhTIDi07T1kMpzQEH4V981cNd2gdV39euelzlu2h7fT8+uXvUushhzopyrhFv27njhKQVs27wFesBpTfRK2Kmd1Yz9JuGRiOyHjTNsFYw9/vx0/AAAA//8DAFBLAwQUAAYACAAAACEAXY+SPLkAAADJAAAAGAAoAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbCCiJAAooCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjcGKwjAURfcD8w/h7WOSGrQWo9hWwb3CbEP6qoXmPWniMDDMv09Wl3sP3LM//sRZfOOSJiYHZqVBIAUeJno4uN8usgaRsqfBz0zogBiOh8+P/ZCawWefMi94zRhFGaaS197BrzVbo7uulVXXttLqy0nWta1lZU79+ry1ldnZPxBFTeUmOXjm/GqUSuGJ0acVv5AKHHmJPpe6PBSP4xSw5/COSFlVWm9UeBd9/IozqMM/AAAA//8DAFBLAwQUAAYACAAAACEAAMPsexEBAACSAQAAEwAIAWRvY1Byb3BzL2N1c3RvbS54bWwgogQBKKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACckLFugzAURfdK/QfLO7GBOGAERAEHqVuHtDsyJkHCNrIdGlT132uUttk7Pt33js59+f4mRzALYwetChhuMARCcd0N6lzAt1MTpBBY16quHbUSBVyEhfvy+Sl/NXoSxg3CAo9QtoAX56YMIcsvQrZ242Plk14b2To/mjPSfT9wwTS/SqEcijDeIX61Tstg+sPBOy+b3X+RnearnX0/LZPXLfMf+AJ66YaugJ+M1IwRTILoSOsgxGEV0JgmAU4xjqqobujh+AXBtC5HEKhW+uq1Vs5rr9CXzlNnl43Th3WmxDfsGb5NQuiuOdYJJVscbuOUsiapkjjFcVwfGMnR4yZHv1Zljlbd+zPLbwAAAP//AwBQSwMEFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4ACAFjdXN0b21YbWwvX3JlbHMvaXRlbTMueG1sLnJlbHMgogQBKKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEz8FqwzAMBuB7Ye9gdF+cdDBKidPLKOQ2Rge7GkdxzGLLWOpY336mpxYGPUpC3y/1h9+4qh8sHCgZ6JoWFCZHU0jewOfp+LwDxWLTZFdKaOCCDIfhadN/4GqlLvESMquqJDawiOS91uwWjJYbypjqZKYSrdSyeJ2t+7Ye9bZtX3W5NWC4M9U4GSjj1IE6XXJNfmzTPAeHb+TOEZP8E6HdmYXiV1zfC2Wusi0exUAQjNfWS1PvBT30+u6/4Q8AAP//AwBQSwECLQAUAAYACAAAACEA7qZvtJUBAAApBwAAEwAAAAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQCZVX4FBAEAAOECAAALAAAAAAAAAAAAAAAAAJMDAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQB2pVOsIgEAANsEAAAcAAAAAAAAAAAAAAAAALMGAAB3b3JkL19yZWxzL2RvY3VtZW50LnhtbC5yZWxzUEsBAi0AFAAGAAgAAAAhAG9FDYcnAgAATQYAABEAAAAAAAAAAAAAAAAA6QgAAHdvcmQvZG9jdW1lbnQueG1sUEsBAi0AFAAGAAgAAAAhAKpSJd8jBgAAixoAABUAAAAAAAAAAAAAAAAAPwsAAHdvcmQvdGhlbWUvdGhlbWUxLnhtbFBLAQItABQABgAIAAAAIQAFa2UEpgMAAK0JAAARAAAAAAAAAAAAAAAAAJURAAB3b3JkL3NldHRpbmdzLnhtbFBLAQItABQABgAIAAAAIQCde05xqgEAAO0EAAASAAAAAAAAAAAAAAAAAGoVAAB3b3JkL2ZvbnRUYWJsZS54bWxQSwECLQAUAAYACAAAACEAW239kwkBAADxAQAAFAAAAAAAAAAAAAAAAABEFwAAd29yZC93ZWJTZXR0aW5ncy54bWxQSwECLQAUAAYACAAAACEAON+1jWoBAADAAgAAEAAAAAAAAAAAAAAAAAB/GAAAZG9jUHJvcHMvYXBwLnhtbFBLAQItABQABgAIAAAAIQBNgtzecwEAAOECAAARAAAAAAAAAAAAAAAAAB8bAABkb2NQcm9wcy9jb3JlLnhtbFBLAQItABQABgAIAAAAIQALRmoQGwsAAARwAAAPAAAAAAAAAAAAAAAAAMAdAAB3b3JkL3N0eWxlcy54bWxQSwECLQAUAAYACAAAACEASnSMYcoIAAD3LgAAEwAAAAAAAAAAAAAAAAAIKQAAY3VzdG9tWG1sL2l0ZW0xLnhtbFBLAQItABQABgAIAAAAIQB0Pzl6wgAAACgBAAAeAAAAAAAAAAAAAAAAACsyAABjdXN0b21YbWwvX3JlbHMvaXRlbTEueG1sLnJlbHNQSwECLQAUAAYACAAAACEAPSiAX7YAAADJAAAAGAAAAAAAAAAAAAAAAAAxNAAAY3VzdG9tWG1sL2l0ZW1Qcm9wczIueG1sUEsBAi0AFAAGAAgAAAAhAL2EYiOQAAAA2wAAABMAAAAAAAAAAAAAAAAARTUAAGN1c3RvbVhtbC9pdGVtMi54bWxQSwECLQAUAAYACAAAACEApxCnGbYAAADJAAAAGAAAAAAAAAAAAAAAAAAuNgAAY3VzdG9tWG1sL2l0ZW1Qcm9wczEueG1sUEsBAi0AFAAGAAgAAAAhAFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
1
611
When method post
905
18:34:08.530 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/document/UploadDocument
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 24547
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"documentDesc":"TestDocument.docx","acaId":13803,"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":"2022\/11\/15","createdDate":"2022-11-15T18:34:08.520Z","documentBase64":"data:application\/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAvJVNS8NAEIbvgv8h7FWarQoi0tSDH0cVrOB13Uzaxf1iZ9raf+8k2ihaW2mql0CyO+\/77LszZHD+4mw2g4Qm+EIc5n2RgdehNH5ciIfRde9UZEjKl8oGD4VYAIrz4f7eYLSIgBlXeyzEhCieSYl6Ak5hHiJ4XqlCcor4NY1lVPpZjUEe9fsnUgdP4KlHtYYYDi6hUlNL2dULf34jSWBRZBdvG2uvQqgYrdGKmFTOfPnFpffukHNlswcnJuIBYwi50qFe+dngve6Wo0mmhOxOJbpRjjHkPKRSlkFPHZ8hXy+zgjNUldHQ1tdqMQUNiJy5s3m74pTxS\/4fOYgTB9k8DzuzNDIbLRGIGBU72307+lJ5I0LFfTFSTxZ2z9BKb4SYw9P9n0XxSXwdCDfLXQoRJQ9H5yygHr8Syh73Y4REBtr5WdV\/rbcOaYuLWM5rXf1Lx2bykBYW\/qL5Gt11YespUnCPzkpD4JrcjzqH3orWeptDb7d\/MHSf+1Z0a4bj\/87ho\/maS9mR\/Yo+lM2PbvgKAAD\/\/wMAUEsDBBQABgAIAAAAIQCZVX4FBAEAAOECAAALAPMBX3JlbHMvLnJlbHMgou8BKKAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArJLPSsNAEMbvgu+wzL2ZtIqINOlFhN5E4gMMu9MkmP3D7lTbt3ctiAZq0oPHnfnmm9987HpzsIN655h67ypYFiUodtqb3rUVvDZPi3tQScgZGrzjCo6cYFNfX61feCDJQ6nrQ1LZxaUKOpHwgJh0x5ZS4QO73Nn5aEnyM7YYSL9Ry7gqyzuMvz2gHnmqrakgbs0NqOYY8uZ5b7\/b9Zofvd5bdnJmBfJB2Bk2ixAzW5Q+X6Maii1LBcbr51xOSCEUGRvwPNHqcqK\/r0XLQoaEUPvI0zxfiimg5eVA8xGNFT\/pfPhoMEd0ynaK5vY\/afQ+ibcz8Zw030g4+pj1JwAAAP\/\/AwBQSwMEFAAGAAgAAAAhAHalU6wiAQAA2wQAABwA2gB3b3JkL19yZWxzL2RvY3VtZW50LnhtbC5yZWxzIKLWACigAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACslMtqwzAQRfeF\/oPRvpbttGkpkbMphWxbF7pV5PGD6mGkSVv\/fUUgsUODkoU2ghmhew9XI63Wv0om32BdbzQjeZqRBLQwda9bRj6q17snkjjkuubSaGBkBEfW5e3N6g0kR3\/Idf3gEq+iHSMd4vBMqRMdKO5SM4D2O42xiqMvbUsHLr54C7TIsiW1cw1Snmgmm5oRu6m9fzUO3vmytmmaXsCLETsFGs9YULFzaNSnkl6U2xaQkTSdurRHUIvUIxN6nmYRk+YHtu+A6KN2E8+sGQJ5jAlyTSxFiKaISeP+ZXLohBDyqAg4Sj\/oxyFx+zpkv4xpf8195CGah5g06B8zTFnsS7pfgwz3MRkao7HiWznjOLYOQdCTL6n8AwAA\/\/8DAFBLAwQUAAYACAAAACEAb0UNhycCAABNBgAAEQAAAHdvcmQvZG9jdW1lbnQueG1spJVNb9swDIbvA\/YfDN0T22nadUacokvWoIcBRdOdB0WWbSGWKEhysuzXj\/JHnH2gSJuLLYriw5eiJc\/ufsoq2HFjBaiUxOOIBFwxyIQqUvL95WF0SwLrqMpoBYqn5MAtuZt\/\/DDbJxmwWnLlAkQom+w1S0npnE7C0LKSS2rHUjADFnI3ZiBDyHPBeLgHk4WTKI6akTbAuLWYb0HVjlrS4eS\/NNBcoTMHI6lD0xShpGZb6xHSNXViIyrhDsiObnoMpKQ2KukQo6MgH5K0grpXH2HOyduGLLsdaDKGhleoAZQthR7KeC8NnWUP2b1WxE5W\/bq9jqeX9WBp6B5fA\/Ac+VkbJKtW+evEODqjIx5xjDhHwp85eyWSCjUkftfWnGxufP02wORvgC4ua87KQK0HmriM9qi2R5Y\/2W9gdU0+Lc1eJmZdUo0nULLksVBg6KZCRdiyAHc98J81meONs4Hs4N862Cd4Y2XPKYmi+yhaRFekn1rynNaV857Fw\/Tz4r6JNP7h5i\/culnoR\/7ZTG4Atv4WWTtqHEJEhqGepqhEDT9W8IWyLQlP135V2XFl2KC0d1vO3JP5j7ZGc7H+hS78muPJZNpkKHF8fTttGH7BN+qDHeChi6ftEiOK0g3mBpwDOdgVz0+8JacZx+vr06QxcwB3Yha1a8wuHYPK4qzVlPF2TTONl\/rKCF9eJRR\/Eo6hyqubvs62xGbYNiMc\/gPz3wAAAP\/\/AwBQSwMEFAAGAAgAAAAhAKpSJd8jBgAAixoAABUAAAB3b3JkL3RoZW1lL3RoZW1lMS54bWzsWU2LGzcYvhf6H8TcHX\/N+GOJN9hjO2mzm4TsJiVHeUaeUawZGUneXRMCJTkWCqVp6aGB3noobQMJ9JL+mm1T2hTyF6rReGzJllnabGApWcNaH8\/76tH7So80nstXThICjhDjmKYdp3qp4gCUBjTEadRx7hwOSy0HcAHTEBKaoo4zR9y5svvhB5fhjohRgoC0T\/kO7DixENOdcpkHshnyS3SKUtk3piyBQlZZVA4ZPJZ+E1KuVSqNcgJx6oAUJtLtzfEYBwgcZi6d3cL5gMh\/qeBZQ0DYQeYaGRYKG06q2Refc58wcARJx5HjhPT4EJ0IBxDIhezoOBX155R3L5eXRkRssdXshupvYbcwCCc1Zcei0dLQdT230V36VwAiNnGD5qAxaCz9KQAMAjnTnIuO9XrtXt9bYDVQXrT47jf79aqB1\/zXN\/BdL\/sYeAXKi+4Gfjj0VzHUQHnRs8SkWfNdA69AebGxgW9Wun23aeAVKCY4nWygK16j7hezXULGlFyzwtueO2zWFvAVqqytrtw+FdvWWgLvUzaUAJVcKHAKxHyKxjCQOB8SPGIY7OEolgtvClPKZXOlVhlW6vJ\/9nFVSUUE7iCoWedNAd9oyvgAHjA8FR3nY+nV0SBvXv745uVzcProxemjX04fPz599LPF6hpMI93q9fdf\/P30U\/DX8+9eP\/nKjuc6\/vefPvvt1y\/tQKEDX3397I8Xz1598\/mfPzyxwLsMjnT4IU4QBzfQMbhNEzkxywBoxP6dxWEMsW7RTSMOU5jZWNADERvoG3NIoAXXQ2YE7zIpEzbg1dl9g\/BBzGYCW4DX48QA7lNKepRZ53Q9G0uPwiyN7IOzmY67DeGRbWx\/Lb+D2VSud2xz6cfIoHmLyJTDCKVIgKyPThCymN3D2IjrPg4Y5XQswD0MehBbQ3KIR8ZqWhldw4nMy9xGUObbiM3+XdCjxOa+j45MpNwVkNhcImKE8SqcCZhYGcOE6Mg9KGIbyYM5C4yAcyEzHSFCwSBEnNtsbrK5Qfe6lBd72vfJPDGRTOCJDbkHKdWRfTrxY5hMrZxxGuvYj\/hELlEIblFhJUHNHZLVZR5gujXddzEy0n323r4jldW+QLKeGbNtCUTN\/TgnY4iU8\/Kanic4PVPc12Tde7eyLoX01bdP7bp7IQW9y7B1R63L+Dbcunj7lIX44mt3H87SW0huFwv0vXS\/l+7\/vXRv28\/nL9grjVaX+OKqrtwkW+\/tY0zIgZgTtMeVunM5vXAoG1VFGS0fE6axLC6GM3ARg6oMGBWfYBEfxHAqh6mqESK+cB1xMKVcng+q2eo76yCzZJ+GeWu1WjyZSgMoVu3yfCna5Wkk8tZGc\/UItnSvapF6VC4IZLb\/hoQ2mEmibiHRLBrPIKFmdi4s2hYWrcz9Vhbqa5EVuf8AzH7U8NyckVxvkKAwy1NuX2T33DO9LZjmtGuW6bUzrueTaYOEttxMEtoyjGGI1pvPOdftVUoNelkoNmk0W+8i15mIrGkDSc0aOJZ7ru5JNwGcdpyxvBnKYjKV\/nimm5BEaccJxCLQ\/0VZpoyLPuRxDlNd+fwTLBADBCdyretpIOmKW7XWzOZ4Qcm1KxcvcupLTzIaj1EgtrSsqrIvd2LtfUtwVqEzSfogDo\/BiMzYbSgD5TWrWQBDzMUymiFm2uJeRXFNrhZb0fjFbLVFIZnGcHGi6GKew1V5SUebh2K6PiuzvpjMKMqS9Nan7tlGWYcmmlsOkOzUtOvHuzvkNVYr3TdY5dK9rnXtQuu2nRJvfyBo1FaDGdQyxhZqq1aT2jleCLThlktz2xlx3qfB+qrNDojiXqlqG68m6Oi+XPl9eV2dEcEVVXQinxH84kflXAlUa6EuJwLMGO44Dype1\/Vrnl+qtLxBya27lVLL69ZLXc+rVwdetdLv1R7KoIg4qXr52EP5PEPmizcvqn3j7UtSXLMvBTQpU3UPLitj9falWtv+9gVgGZkHjdqwXW\/3GqV2vTssuf1eq9T2G71Sv+E3+8O+77Xaw4cOOFJgt1v33cagVWpUfb\/kNioZ\/Va71HRrta7b7LYGbvfhItZy5sV3EV7Fa\/cfAAAA\/\/8DAFBLAwQUAAYACAAAACEABWtlBKYDAACtCQAAEQAAAHdvcmQvc2V0dGluZ3MueG1stFbbbts4EH0vsP9g6HkVS\/KlqVCncO11myLeLir3AyiRsonwBpKy4hb99w4pMXLSReHdok8m58yNM2dGfv3mgbPRkWhDpVhE6VUSjYioJKZiv4g+7zbxdTQyFgmMmBRkEZ2Iid7c\/PHidZsbYi2omRG4ECbn1SI6WKvy8dhUB8KRuZKKCABrqTmycNX7MUf6vlFxJblClpaUUXsaZ0kyj3o3chE1WuS9i5jTSksja+tMclnXtCL9T7DQl8TtTNayajgR1kcca8IgBynMgSoTvPH\/6w3AQ3By\/NkjjpwFvTZNLnhuKzV+tLgkPWegtKyIMdAgzkKCVAyBpz84eox9BbH7J3pXYJ4m\/nSe+ey\/OcieOTDskpd00B0tNdIdT\/pn8Cq\/3QupUcmAlfCcEWQU3QAtv0jJR22uiK6gN8DpJInGDoCKyLqwyBKAjSKMeZJXjCBw2OZ7jTjQM0i8DSY1apjdobKwUoHSEUHeL7PeZXVAGlWW6EKhCrytpLBasqCH5d\/SroDqGjrRW3jiD6eiGyKwEIjDS54MxlZi4jJrNL282M7AR4d6nIV8HkjC0GuKyc5VsLAnRjaQfEG\/kKXAHxpjKXj04\/ELGfwsASJc5I\/Q891JkQ1BtoEy\/aZgvhMbRtWWai31rcDAjd8WjNY10RCAAte2QB+qZevr\/J4gDLv2F+OOz2kEmxubcPgkpQ2qSbJMklUy6TJ16CXIajN9tVr2UXrfPHe77R8dTo4oI95ZrBAvNUWjrdt+Y6dR6vu3VAS8JDDO5BwpmjKAcdwBhiPGNjBJAfDjxXNMjVqT2p\/ZFun94LfX0P8qhan98OjLbQGi32nZqA5tNVIdAYJKOp32llTYO8qD3DRlEawELKAzqBH441H7Og3laXMLjfSDdIc8IbwuEfHnoicM04VrNtkipTrOlPt0ETG6P9jUtdnCDcNH0l\/KfdZjmceyDvMXVLmXgXZ\/GGRZkJ3pTYJsMsimQTYdZLMgmw2yeZDNnewA06phdd4DfcPRyWvJmGwJfj\/gP4i6IpgDUmTdbVagl+wE\/ao1o2NOHmBvE0wt\/PdQFHP04NZ4NnfmvTZDJ9nYJ7oOc8rqqQeMLAqD88TYU\/xZLm7jVxToWJx4OSzyqy5xRg0Mu4Kdb6UO2J8eS2f+Y2B3wOJ7aOwnUr9FhuAew7K6xe4T1dl8nWz+Wl+naRIv02UaT7NsEl+\/TNfxcpXOX22uJ6v5LP3WT2H4n3XzHQAA\/\/8DAFBLAwQUAAYACAAAACEAnXtOcaoBAADtBAAAEgAAAHdvcmQvZm9udFRhYmxlLnhtbNySzWrjMBSF9wPzDkb7xrKTtB1Tp9CZBgrDLIb2ARRFti\/Vj9FV4snb90p20kUoNJsuxgYhnSN9ujrcu\/t\/Rmd75RGcrVkx4yxTVrot2LZmL8\/rq1uWYRB2K7SzqmYHhex+9f3b3VA1zgbM6LzFysiadSH0VZ6j7JQROHO9smQ2zhsRaOnb3Aj\/uuuvpDO9CLABDeGQl5xfswnjP0NxTQNS\/XJyZ5QN6XzulSais9hBj0fa8Bna4Py2904qRHqz0SPPCLAnTLE4AxmQ3qFrwoweM1WUUHS84Glm9DtgeRmgPAGMrJ5a67zYaAqfKskIxlZT+tlQWWHI+Ck0bDwkoxfWoSrI2wtdM17yNV\/SGP8Fn8eR5XGj7IRHFSHjRj7KjTCgD0cVB0AcjR6C7I76XniIRY0WQkvGDje8Zo8LzsvH9ZqNSkHVcVIWNw+TUsa70vdjUuYnhUdFJk5aFiNHJs5pD92ZjwmcJfEMRmH2Rw3ZX2eE\/SCRkl9TEkvKIyYzvygRn7gXJRLff5bIze3ySxKZeiP7DW0XPuyQ2Bf\/aYdME1y9AQAA\/\/8DAFBLAwQUAAYACAAAACEAW239kwkBAADxAQAAFAAAAHdvcmQvd2ViU2V0dGluZ3MueG1slNHBSgMxEAbgu+A7LLm32RYVWbotiFS8iKA+QJrOtsFMJsykrvXpHWutSC\/1lkkyHzP8k9k7xuoNWAKl1oyGtakgeVqGtGrNy\/N8cG0qKS4tXaQErdmCmNn0\/GzSNz0snqAU\/SmVKkka9K1Zl5Iba8WvAZ0MKUPSx44YXdGSVxYdv27ywBNmV8IixFC2dlzXV2bP8CkKdV3wcEt+g5DKrt8yRBUpyTpk+dH6U7SeeJmZPIjoPhi\/PXQhHZjRxRGEwTMJdWWoy+wn2lHaPqp3J4y\/wOX\/gPEBQN\/crxKxW0SNQCepFDNTzYByCRg+YE58w9QLsP26djFS\/\/hwp4X9E9T0EwAA\/\/8DAFBLAwQUAAYACAAAACEAON+1jWoBAADAAgAAEAAIAWRvY1Byb3BzL2FwcC54bWwgogQBKKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACcUstOwzAQvCPxD1HurVMECKGtK9QKceBRqWl7tpxNYuHYlu1W7d+zadoQ4EZOO7O7o9mJYXZodLJHH5Q103QyztIEjbSFMtU0XefPo4c0CVGYQmhrcJoeMaQzfn0FS28d+qgwJCRhwjStY3SPjAVZYyPCmNqGOqX1jYgEfcVsWSqJCyt3DZrIbrLsnuEhoimwGLleMO0UH\/fxv6KFla2\/sMmPjvQ45Ng4LSLy93ZTA+sJyG0UOlcN8ozoHsBSVBj4BFhXwNb6IrQzXQHzWnghI0XHb4ENEDw5p5UUkSLlb0p6G2wZk4+Tz6TdBjYcAfK+QrnzKh5b\/SGEV2U6F11BrryovHD12VqPYCWFxjldzUuhAwL7JmBuGycMybG+Ir3PsHa5XbQpnFd+koMTtyrWKyck\/jp2wMOKWCzIfW+gJ+CF\/oPXrTrtmgqLy8zfRhvfpnuQfHI3zug75XXh6Or+pfAvAAAA\/\/8DAFBLAwQUAAYACAAAACEATYLc3nMBAADhAgAAEQD\/AGRvY1Byb3BzL2NvcmUueG1sIKL7ACigAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnFLLTsMwELwj8Q+R74mTFKEqSlLxKheKkAgCcTP2tjVNbMt2m\/bvcZImbQQnJB+8O7Ozu2Ons31VejvQhkuRoSgIkQeCSsbFKkNvxdyfIs9YIhgppYAMHcCgWX55kVKVUKnhRUsF2nIwnlMSJqEqQ2trVYKxoWuoiAkcQzhwKXVFrAv1CitCN2QFOA7Da1yBJYxYghtBXw2K6CjJ6CCptrpsBRjFUEIFwhocBRE+cS3oyvxZ0CJnzIrbg3I7Hcc912a0Awf23vCBWNd1UE\/aMdz8Ef5YPL22q\/pcNF5RQHnKaGK5LSFP8enqbmb79Q3UdukhcADVQKzU+c3jw3PRFvWZxusNHGqpmXF1o8gVMjBUc2XdC3aqo4Rjl8TYhXvSJQd2e+gb\/AaaPhp2vPkLedw2GkK3T2tfNyYwzxmSdPb1yPvk7r6YozwO48gPY3eKcJpcTZMw\/Gz2GdU3BnWJ6jjZvxV7gc6a8afMfwAAAP\/\/AwBQSwMEFAAGAAgAAAAhAAtGahAbCwAABHAAAA8AAAB3b3JkL3N0eWxlcy54bWy8nV1z27oRhu870\/\/A0VV7kcjyZ+I5zhnbiWtP4xyfyGmuIRKyUIOEyo\/Y7q8vAFIS5CUoLrj1lS1R+wDEuy+I5Yf02+\/PqYx+8bwQKjsbTd7vjSKexSoR2cPZ6Mf91bsPo6goWZYwqTJ+Nnrhxej3T3\/9y29Pp0X5InkRaUBWnKbx2WhRlsvT8biIFzxlxXu15JneOFd5ykr9Mn8Ypyx\/rJbvYpUuWSlmQoryZby\/t3c8ajB5H4qaz0XMP6u4SnlW2vhxzqUmqqxYiGWxoj31oT2pPFnmKuZFoXc6lTUvZSJbYyaHAJSKOFeFmpfv9c40PbIoHT7Zs\/+lcgM4wgH214A0Pr15yFTOZlKPvu5JpGGjT3r4ExV\/5nNWybIwL\/O7vHnZvLJ\/rlRWFtHTKStiIe51yxqSCs27Ps8KMdJbOCvK80Kw1o0L80\/rlrgonbcvRCJGY9Ni8V+98ReTZ6P9\/dU7l6YHW+9Jlj2s3uPZux9TtyfOWzPNPRux\/N303ASOmx2r\/zq7u3z9yja8ZLGw7bB5yXVmTY73DFQKk8j7Rx9XL75XZmxZVaqmEQuo\/66xYzDiOuF0+k1rF+itfP5VxY88mZZ6w9nItqXf\/HFzlwuV60w\/G320beo3pzwV1yJJeOZ8MFuIhP9c8OxHwZPN+39e2Wxt3ohVlen\/D04mNgtkkXx5jvnS5L7emjGjyTcTIM2nK7Fp3Ib\/ZwWbNEq0xS84MxNANHmNsN1HIfZNROHsbTuzerXv9lOohg7eqqHDt2ro6K0aOn6rhk7eqqEPb9WQxfw\/GxJZwp9rI8JmAHUXx+NGNMdjNjTH4yU0x2MVNMfjBDTHk+hojieP0RxPmiI4pYp9Wegk+4En27u5u48RYdzdh4Qw7u4jQBh394Qfxt09v4dxd0\/nYdzds3cYd\/dkjefWS63oRtssKwe7bK5UmamSRyV\/Hk5jmWbZqoiGZw56PCfZSQJMPbM1B+LBtJjZ17szxJo0\/HhemkIuUvNoLh6qXBfTQzvOs19c6rI2YkmieYTAnJdV7hmRkJzO+ZznPIs5ZWLTQU0lGGVVOiPIzSV7IGPxLCEevhWRZFJYJ7SunxfGJIIgqVMW52p41xQjmx++imL4WBlIdFFJyYlY32hSzLKG1wYWM7w0sJjhlYHFDC8MHM2ohqihEY1UQyMasIZGNG51flKNW0MjGreGRjRuDW34uN2LUtop3l11TPqfu7uUypzHHtyPqXjImF4ADD\/cNOdMozuWs4ecLReROSvdjnX3GdvOhUpeonuKY9qaRLWutylyqfdaZNXwAd2iUZlrzSOy15pHZLA1b7jFbvUy2SzQrmnqmWk1K1tNa0m9TDtlsqoXtMPdxsrhGbYxwJXICzIbtGMJMvibWc4aOSlmvk0vh3dswxpuq9ezEmn3GiRBL6WKH2mm4euXJc91WfY4mHSlpFRPPKEjTstc1bnmWn7fStLL8l\/S5YIVwtZKW4j+h\/rVFfDoli0H79CdZCKj0e3Lu5QJGdGtIK7vb79G92ppykwzMDTAC1WWKiVjNmcC\/\/aTz\/5O08FzXQRnL0R7e050esjCLgXBQaYmqYSIpJeZIhMkx1DL+yd\/mSmWJzS0u5zXN52UnIg4ZemyXnQQeEvPi096\/iFYDVnev1guzHkhKlPdk8Cc04ZFNfs3j4dPdd9URHJm6I+qtOcf7VLXRtPhhi8TtnDDlwhWTX14MPlLsLNbuOE7u4Wj2tlLyYpCeC+hBvOodnfFo97f4cVfw1NS5fNK0g3gCkg2gisg2RAqWaVZQbnHlke4w5ZHvb+EKWN5BKfkLO8fuUjIxLAwKiUsjEoGC6PSwMJIBRh+h44DG36bjgMbfq9ODSNaAjgwqjwjPfwTXeVxYFR5ZmFUeWZhVHlmYVR5dvA54vO5XgTTHWIcJFXOOUi6A01W8nSpcpa\/ECG\/SP7ACE6Q1rS7XM3N0wgqq2\/iJkCac9SScLFd46hE\/slnZF0zLMp+EZwRZVIqRXRubXPAsZHb967tCrNPcgzuwp1kMV8omfDcs0\/+WF0vT+vHMl5333aj12nPr+JhUUbTxfpsv4s53tsZuSrYt8J2N9g25ser51nawm55Iqp01VH4MMXxQf9gm9FbwYe7gzcria3Io56RsM3j3ZGbVfJW5EnPSNjmh56R1qdbkV1++Mzyx9ZEOOnKn3WN50m+k64sWge3NtuVSOvIthQ86cqiLatE53FsrhZAdfp5xh\/fzzz+eIyL\/BSMnfyU3r7yI7oM9p3\/EubIjpk0bXvruyfAvG8X0b1mzj8rVZ+337rg1P+hrhu9cMoKHrVyDvpfuNqaZfzj2Hu68SN6zzt+RO8JyI\/oNRN5w1FTkp\/Se27yI3pPUn4EeraCRwTcbAXjcbMVjA+ZrSAlZLYasArwI3ovB\/wItFEhAm3UASsFPwJlVBAeZFRIQRsVItBGhQi0UeECDGdUGI8zKowPMSqkhBgVUtBGhQi0USECbVSIQBsVItBGDVzbe8ODjAopaKNCBNqoEIE2ql0vDjAqjMcZFcaHGBVSQowKKWijQgTaqBCBNipEoI0KEWijQgTKqCA8yKiQgjYqRKCNChFoo9aPGoYbFcbjjArjQ4wKKSFGhRS0USECbVSIQBsVItBGhQi0USECZVQQHmRUSEEbFSLQRoUItFHtxcIBRoXxOKPC+BCjQkqIUSEFbVSIQBsVItBGhQi0USECbVSIQBkVhAcZFVLQRoUItFEhois\/m0uUvtvsJ\/iznt479vtfumo69d19lNtFHfRHrXrlZ\/V\/FuFCqceo9cHDA1tv9IOImRTKnqL2XFZ3ufaWCNSFzz8uu5\/wcekDv3SpeRbCXjMF8MO+keCcymFXyruRoMg77Mp0NxKsOg+7Zl83EhwGD7smXevL1U0p+nAEgrumGSd44gnvmq2dcDjEXXO0EwhHuGtmdgLhAHfNx07gUWQm59fRRz3H6Xh9fykgdKWjQzjxE7rSEmq1mo6hMfqK5if0Vc9P6Cujn4DS04vBC+tHoRX2o8KkhjbDSh1uVD8BKzUkBEkNMOFSQ1Sw1BAVJjWcGLFSQwJW6vDJ2U8IkhpgwqWGqGCpISpMangow0oNCVipIQEr9cADshcTLjVEBUsNUWFSw8UdVmpIwEoNCVipISFIaoAJlxqigqWGqDCpQZWMlhoSsFJDAlZqSAiSGmDCpYaoYKkhqktqexZlS2qUwk44bhHmBOIOyE4gbnJ2AgOqJSc6sFpyCIHVEtRqpTmuWnJF8xP6qucn9JXRT0Dp6cXghfWj0Ar7UWFS46qlNqnDjeonYKXGVUteqXHVUqfUuGqpU2pcteSXGlcttUmNq5bapA6fnP2EIKlx1VKn1LhqqVNqXLXklxpXLbVJjauW2qTGVUttUg88IHsx4VLjqqVOqXHVkl9qXLXUJjWuWmqTGlcttUmNq5a8UuOqpU6pcdVSp9S4askvNa5aapMaVy21SY2rltqkxlVLXqlx1VKn1LhqqVNqT7U0ftr6ASbDtj9Ipj9cviy5+Q5u54GZpP4O0uYioP3gTbL+oSQTbHoSNT9J1bxtO9xcMKxbtIGwqXih24qbb0\/yNNV8C+r6MR77HaivG\/Z8VartyGYIVp9uhnRzKbT+3NZlz85+l2bIO\/psJekco1o1Xwc\/Nmm4q4e6PzNZ\/2iX\/ucmSzTgqfnBqrqnyTOrUXr7JZfyltWfVkv\/RyWfl\/XWyZ59aP7V9ln9\/W\/e+NxOFF7AeLsz9cvmh8M8411\/I3xzBdubksYNLcNtb6cYOtKbvq3+Kz79DwAA\/\/8DAFBLAwQUAAYACAAAACEASnSMYcoIAAD3LgAAEwAoAGN1c3RvbVhtbC9pdGVtMS54bWwgoiQAKKAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7Frdk5s4En\/fqv0fKO7Zxjb2+KPibE3Gyd3UZZLUjnfv3rZkSdhcMDggZjz\/\/bUQEkIYG7CvbuvqkocErG51\/9Tf4t0vx31gvdA48aNwaQ\/7A9uiIY6IH26Xdsq83sz+5f07zBY4ChkN2frtQJ\/xju6RBS\/\/WNq2tUfqX23RF7SnS3sV4XQPZNkq7dfH1dIeHAdD+Du4m07md58+Pkznk\/FgOHZn89Wn6YepOxu47sP9amLS\/q6kHZo\/rWiCY\/\/AMmUeYooYtZAV0leL5IL0TZJnHB1A0Ox1jgMXbnrn0cFgM\/fohHojd4gRJUN3gscuHbnuDNsWABcmC8yW9o6xw8JxkgyWpL\/3cRwlkcf6ONo7kef5mDoj0NPZU4YIYsjRkJCM9qgLo0MM0sfMp0nG\/J6x2N+kjCb2+59\/endMyEJIZTEUbynjh5IcEAaF2wtd7JWBFUcR6M7ilGaPnk8DknDovDly8WwzmIwJ3nh3YzydwrkOp\/iOTudkBIcWJiNhMmHiiv8IMEFeJdjr62v\/1e1H8ZZjN3T++fRZ2J0E7Jg0X3tQS1sckq6vkA\/kBsuYzt3RaDPpjQjZ9MabKeqh0d1dD88H2J2guwkZgIqSwAU8xuMxxWjSG5DJrDd2B6g3G4+GPW8yG8znQzwCWNRx+ftDFDMrLA6q0X6OPO4qfaPtFT0NKPfXTIClrUEgNwCbPgT0yOOAfJXQHykEDfVc5iE97wmFaJsxV8qe4IWCQLKVbGLqLW1uMk+U+OiZxi\/gUE+5K4Ht+eFXjNMYzGFgV\/Q4SfwJJawlA3fxvEMxJf\/w2e63BCJQw411uhXI7AdNKcv63qcsWqNtN+KvD782FLe86V9pSGPEo+na33M3bw\/1xxewpr+hZPcQkW4cuOZ\/p2\/fIj9k3dS\/jnoFSWSNvtPwlP4OD7G5zWb\/N0w6e5cbMrfr7Fn3l+ZEWXaRvlEX1RsFCysX6FMU71fUQ2kAgfxHigIfgjiRses\/FozJvojcl8NxNXw4DGIPWIIIsQfcLLb7oRcdENvxbDJ1vqGYgW0\/QFETR+CSEtdq+GycJ2sFVTGpG\/PzgivmMlryzLG0a0IlWvghocelPYMk7AcB2gSwWOVw4ieHAL2J0q2Wxc4nhEKxqMjAMWkcouACHZRj5GsYvOWUEvIEYAmonk9imkAZg3ncsTYoAQnBZBZfIkZFfBdOVCIz\/Yy7ZT0iRvxXqMzboVJh0wKZCu2fBx0t1ShkhqPL0OTpidPU2UOJ9ZUar+mR3cgeRH4slHUvK\/vxyGKEGSVWJgdvgurVlvyv1DjzAOk2e3T8TMMt21kvKEjBR0aTiQaH5kOc4mqXqZQCBVrjy2jpseQEpxZ+c4L6SlRvaEdmsVNgBE1sm3hbZdQCoirxnwchs5grELprh1CVUQuEqsRXInTD3KQXqwU608vomIR1Mbi87haK\/5dCkl6YF0i1rGzKTFrYUJnwShhbxSARyxu1A416\/\/+3A\/\/z7UB1dlE4DEx8L6UmQW7x2Qc0wZxUDy6nmNf4g9Ed8yo9f8U7MZgUyFACtR0N+UxaawD42OUJelVfdWt6I12t+Pn6R+j6jL4dFDjKgVEabqIUOiKiWJ6Q8Pwuq6Jnsi3emS5tLgrvYMKtsXVNs3aPMUjBHqH1Fgx4u5NJD29KMxfzpM4z5D2VZHleJhFStDFe9sLAInt3cZahTk6VndUTbsK9ep6FnRWDtMKM+Vj5QkermbFVZnHanPU1NQbdqnmVxn3z0l0cX6OMYIwz4PYghDmKB5MgxJJs2g7XA99hUFu5sYhpTxsHX0oaSN5ElIZMaaiNmTZBhL+r+dNfYIqWz3QqA53uUooZEdiS4tngXsG\/vLjnhwlDMPOWYyhSjKEOaRxkSBLs5O6SOMP+0CnWgr1pQzCdIPtFrYxgqKSEOT0rk7HYiTZFFKudNOlbGbIJ9p8jnA181a4k3QQ+3AjGNNMpF8IBYBPnB2gI4zTXGYydwcghuA9IFzP4RlJIhW+xfcarLEN5CMTV+KauzGRsfFj\/Yfyg4qoWAvMrkepi6dZ1VxcELzCEDxbFZjTXMtGwgE2KnF1dEJgxgK0IDnw4W84HjTgsfJjXMT7cbSmBmCWWLivPbH8q+6n4DFUGFA6lAWOe8q0sTSnEDe0XzGeBeXGgp3BxB5yPNWEUYe6yzuhr2Sfp5l8Us264kuK6uR0DAex3+vYaxcS81DC0q9QUtboEKNymELq7yAJeT7dR\/HaWtnrCFVmEZvlF+m2YxfTF56VgS27KLcMwYllMk2\/kpF6+tGr+rHd+IqZrFtiXzyFKLLajVpjuNzS2Is9K0Au8i2JLCpn0rTWsQIdDwAl4BQtMYBp3iKCehXG7BbnWSg8Efgu3wE1tgTzwdIsivFPM+j\/\/dEo0Mc0ztRBvUUlbs2SrFlUBvwqFzz34zc+Hq0+\/FLL2Oduz51ZjQHnMeYaDSzv5R6b5pYs5kXOEWVz1ocT5O5ob1Eq3vOvKL84afT+RYyODsvDub3D9De6Y\/6alSImk1kgcE3UPkxnHAS9KHVMpn7znNizXG1tLaq1Z6kor+qLz1FwQvfHjz4am9bIKmEp6yiguG8NzqgpyTdHOxELT9uQfVg\/3SRJhH0Ie+Qi1A3vrfNzAK+dQX7tofbhpAuZBwDmo3gICJXwaAiYlNvgiP5qxBbpqXW5K6vkEXWOS57eE0f1jXv7zLRuTSkghKdTRNTKzQg9hKab2Kk2XjU2RVeAw2cjCmPuAmGNcAlRwOIFNR1lMqBqyKcepwvJyjQ0HNlwcHiV92a5Kjnw+bNTykAbzK\/VozD+WMrLiuXhQluaR8JJX\/xKnDS3c43amhWvRzrS8Mu8q8+QSrRkjGnmRPGvd+Esn3T5sCkc8cdSdWfGz7k4Mh92dGE67OzEcd3diOO\/2xGveJndOUpy6+az4Uo7qYH9KgK6hijP4wrNRez\/L9iaXCG\/gZIWM3c63mJCbmSl3Zg5eJqeahTqnPl1\/\/28AAAD\/\/wMAUEsDBBQABgAIAAAAIQB0Pzl6wgAAACgBAAAeAAgBY3VzdG9tWG1sL19yZWxzL2l0ZW0xLnhtbC5yZWxzIKIEASigAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhM\/BigIxDAbgu+A7lNydzngQkel4WRa8ibjgtXQyM8VpU5oo+vYWTyss7DEJ+f6k3T\/CrO6Y2VM00FQ1KIyOeh9HAz\/n79UWFIuNvZ0pooEnMuy75aI94WylLPHkE6uiRDYwiaSd1uwmDJYrShjLZKAcrJQyjzpZd7Uj6nVdb3T+bUD3YapDbyAf+gbU+ZlK8v82DYN3+EXuFjDKHxHa3VgoXMJ8zJS4yDaPKAa8YHi3mqrcC7pr9cd\/3QsAAP\/\/AwBQSwMEFAAGAAgAAAAhAD0ogF+2AAAAyQAAABgAKABjdXN0b21YbWwvaXRlbVByb3BzMi54bWwgoiQAKKAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI3BCsIwEETvgv8Q9h5TG2tVjFKpBe8KXkO6rYVmV5oogvjv5jTMPJi3P378KN44hYHJwHKRgUBy3A7UG7hdG7kBEaKl1o5MaIAYjof5bN+GXWujDZEnvET0Ig1Dyktt4LstdZmdGy11rUu5yotGVlVxkvm6qHS+rJrTefUDkdSUboKBR4zPnVLBPdDbsOAnUoIdT97GVKdecdcNDmt2L48UVZ5la+VeSe\/vfgR1+AMAAP\/\/AwBQSwMEFAAGAAgAAAAhAL2EYiOQAAAA2wAAABMAKABjdXN0b21YbWwvaXRlbTIueG1sIKIkACigIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGyOOw7CMBAFr4LSky3o0OI0gQpR5QLGOIqlrNfyLh\/fHgdBgZR6nmYediS8dRzVRx1K8p3BE2caPKXZqpfNi+Yoh2ZSTXsAcZMnKy0Fl1l41NYxgUw2+8QhKjx28LVptcFYXdIY7INUXzE9uzvV1Dlcs81lSSH8IB5vQdcnH4IX\/1zHC0D4O27eAAAA\/\/8DAFBLAwQUAAYACAAAACEApxCnGbYAAADJAAAAGAAoAGN1c3RvbVhtbC9pdGVtUHJvcHMxLnhtbCCiJAAooCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjcEKwjAQRO+C\/xD2HpPaWqsYRdoK3hW8hnSrhWZXmiiC+O\/mNMw8mLc7fPwo3jiFgclAttAgkBx3A90NXC8nWYEI0VJnRyY0QAyH\/Xy268K2s9GGyBOeI3qRhiHluTHwbfPjssiaWpbrrJZF3m5k1epabrJVVef6VJSN\/oFIako3wcAjxudWqeAe6G1Y8BMpwZ4nb2Oq011x3w8OG3YvjxTVUutSuVfS+5sfQe3\/AAAA\/\/8DAFBLAwQUAAYACAAAACEAXJYnIsMAAAAoAQAAHgAIAWN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVscyCiBAEooAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITPwWrDMAwG4Huh72B0X5z2MEqJ00sZ5DZGC70aR0lMY8tYSmnffqanFgY7SkLfLzWHe5jVDTN7igY2VQ0Ko6Pex9HA+fT1sQPFYmNvZ4po4IEMh3a9an5wtlKWePKJVVEiG5hE0l5rdhMGyxUljGUyUA5WSplHnay72hH1tq4\/dX41oH0zVdcbyF2\/AXV6pJL8v03D4B0eyS0Bo\/wRod3CQuES5u9MiYts84hiwAuGZ2tblXtBt41++6\/9BQAA\/\/8DAFBLAwQUAAYACAAAACEAf4tDw8EAAAAiAQAAEwAoAGN1c3RvbVhtbC9pdGVtMy54bWwgoiQAKKAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfM8xT8NADIbhvxLd3nNaJEBRkg6sVEJiYbUuvuSknn06u6Q\/H4KgMLF5eZ9P7o\/XfG7eqWoSHtzet64hDjIlngd3sbh7dMexL12pUqhaIm0+C9auDG4xKx2AhoUyqs8pVFGJ5oNkkBhTIDi07T1kMpzQEH4V981cNd2gdV39euelzlu2h7fT8+uXvUushhzopyrhFv27njhKQVs27wFesBpTfRK2Kmd1Yz9JuGRiOyHjTNsFYw9\/vx0\/AAAA\/\/8DAFBLAwQUAAYACAAAACEAXY+SPLkAAADJAAAAGAAoAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbCCiJAAooCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjcGKwjAURfcD8w\/h7WOSGrQWo9hWwb3CbEP6qoXmPWniMDDMv09Wl3sP3LM\/\/sRZfOOSJiYHZqVBIAUeJno4uN8usgaRsqfBz0zogBiOh8+P\/ZCawWefMi94zRhFGaaS197BrzVbo7uulVXXttLqy0nWta1lZU79+ry1ldnZPxBFTeUmOXjm\/GqUSuGJ0acVv5AKHHmJPpe6PBSP4xSw5\/COSFlVWm9UeBd9\/IozqMM\/AAAA\/\/8DAFBLAwQUAAYACAAAACEAAMPsexEBAACSAQAAEwAIAWRvY1Byb3BzL2N1c3RvbS54bWwgogQBKKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACckLFugzAURfdK\/QfLO7GBOGAERAEHqVuHtDsyJkHCNrIdGlT132uUttk7Pt33js59+f4mRzALYwetChhuMARCcd0N6lzAt1MTpBBY16quHbUSBVyEhfvy+Sl\/NXoSxg3CAo9QtoAX56YMIcsvQrZ242Plk14b2To\/mjPSfT9wwTS\/SqEcijDeIX61Tstg+sPBOy+b3X+RnearnX0\/LZPXLfMf+AJ66YaugJ+M1IwRTILoSOsgxGEV0JgmAU4xjqqobujh+AXBtC5HEKhW+uq1Vs5rr9CXzlNnl43Th3WmxDfsGb5NQuiuOdYJJVscbuOUsiapkjjFcVwfGMnR4yZHv1Zljlbd+zPLbwAAAP\/\/AwBQSwMEFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4ACAFjdXN0b21YbWwvX3JlbHMvaXRlbTMueG1sLnJlbHMgogQBKKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEz8FqwzAMBuB7Ye9gdF+cdDBKidPLKOQ2Rge7GkdxzGLLWOpY336mpxYGPUpC3y\/1h9+4qh8sHCgZ6JoWFCZHU0jewOfp+LwDxWLTZFdKaOCCDIfhadN\/4GqlLvESMquqJDawiOS91uwWjJYbypjqZKYSrdSyeJ2t+7Ye9bZtX3W5NWC4M9U4GSjj1IE6XXJNfmzTPAeHb+TOEZP8E6HdmYXiV1zfC2Wusi0exUAQjNfWS1PvBT30+u6\/4Q8AAP\/\/AwBQSwECLQAUAAYACAAAACEA7qZvtJUBAAApBwAAEwAAAAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQCZVX4FBAEAAOECAAALAAAAAAAAAAAAAAAAAJMDAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQB2pVOsIgEAANsEAAAcAAAAAAAAAAAAAAAAALMGAAB3b3JkL19yZWxzL2RvY3VtZW50LnhtbC5yZWxzUEsBAi0AFAAGAAgAAAAhAG9FDYcnAgAATQYAABEAAAAAAAAAAAAAAAAA6QgAAHdvcmQvZG9jdW1lbnQueG1sUEsBAi0AFAAGAAgAAAAhAKpSJd8jBgAAixoAABUAAAAAAAAAAAAAAAAAPwsAAHdvcmQvdGhlbWUvdGhlbWUxLnhtbFBLAQItABQABgAIAAAAIQAFa2UEpgMAAK0JAAARAAAAAAAAAAAAAAAAAJURAAB3b3JkL3NldHRpbmdzLnhtbFBLAQItABQABgAIAAAAIQCde05xqgEAAO0EAAASAAAAAAAAAAAAAAAAAGoVAAB3b3JkL2ZvbnRUYWJsZS54bWxQSwECLQAUAAYACAAAACEAW239kwkBAADxAQAAFAAAAAAAAAAAAAAAAABEFwAAd29yZC93ZWJTZXR0aW5ncy54bWxQSwECLQAUAAYACAAAACEAON+1jWoBAADAAgAAEAAAAAAAAAAAAAAAAAB\/GAAAZG9jUHJvcHMvYXBwLnhtbFBLAQItABQABgAIAAAAIQBNgtzecwEAAOECAAARAAAAAAAAAAAAAAAAAB8bAABkb2NQcm9wcy9jb3JlLnhtbFBLAQItABQABgAIAAAAIQALRmoQGwsAAARwAAAPAAAAAAAAAAAAAAAAAMAdAAB3b3JkL3N0eWxlcy54bWxQSwECLQAUAAYACAAAACEASnSMYcoIAAD3LgAAEwAAAAAAAAAAAAAAAAAIKQAAY3VzdG9tWG1sL2l0ZW0xLnhtbFBLAQItABQABgAIAAAAIQB0Pzl6wgAAACgBAAAeAAAAAAAAAAAAAAAAACsyAABjdXN0b21YbWwvX3JlbHMvaXRlbTEueG1sLnJlbHNQSwECLQAUAAYACAAAACEAPSiAX7YAAADJAAAAGAAAAAAAAAAAAAAAAAAxNAAAY3VzdG9tWG1sL2l0ZW1Qcm9wczIueG1sUEsBAi0AFAAGAAgAAAAhAL2EYiOQAAAA2wAAABMAAAAAAAAAAAAAAAAARTUAAGN1c3RvbVhtbC9pdGVtMi54bWxQSwECLQAUAAYACAAAACEApxCnGbYAAADJAAAAGAAAAAAAAAAAAAAAAAAuNgAAY3VzdG9tWG1sL2l0ZW1Qcm9wczEueG1sUEsBAi0AFAAGAAgAAAAhAFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB\/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
18:34:09.431 response time in milliseconds: 901
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:06 GMT
1 < Content-Length: 4
true
612
Then status 200
0
613
And print response
2
18:34:09.433 [print] true
614
* match response == 'true'
1
140
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:40000}
6116
>>
karate.UseCases.LicensesCommonMethods
4607
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
2
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
2
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
2
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
1
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
904
18:34:10.954 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13803
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:11.857 response time in milliseconds: 903
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:09 GMT
1 < Content-Length: 639
[{"licenseName":"All night ","applicationId":"NA-0527-22-19014","applicationTypeId":1,"appFeesId":0,"appId":13803,"feesRefId":7147,"initialFees":0.0,"licensingFees":51.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":10.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":1,"termDesc":"1 x","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
1
843
* def licFees = serverResponse[0].licensingFees+''
8
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
1
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
1
18:34:11.871 [print] 61.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
238
18:34:11.873 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13803,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13803,"createdBy":"Tarun Gupta"}
18:34:12.109 response time in milliseconds: 236
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:09 GMT
false
862
Then status 200
0
863
And print response
1
18:34:12.111 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
1
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
3
875
When method post
1077
18:34:12.116 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13803/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5052
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13803,"slaintakeDate":"2022-11-15T18:34:10.952Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:34:10.952Z","amount":40000}],"appFees":{"appFees":[{"licenseName":"All night ","applicationId":"NA-0527-22-19014","applicationTypeId":1,"appFeesId":0,"appId":13803,"feesRefId":7147,"initialFees":0,"licensingFees":51,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":61.0,"filingFees":"10","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":61.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":1,"termDesc":"1 x","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:10.942Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13803,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13803,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13803,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13803,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:13.192 response time in milliseconds: 1074
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:04:10 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
1
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
365
18:34:13.196 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13803
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:34:13.559 response time in milliseconds: 363
4 < 200
4 < Content-Length: 443
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:04:10 GMT
[{"checkDetailId":2298,"appId":13803,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":40000.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:04:10.267","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
1
884
And print checkDetailId
1
18:34:13.561 [print] 2298
885
* def amount = response[0].amount
1
886
* def underpaidAmount = totalFees-amount
5
888
And print 'underpaidAmount- ',underpaidAmount
1
18:34:13.567 [print] underpaidAmount- -39939.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
1
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
2
920
When method post
327
18:34:13.574 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13803/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
5 > Content-Length: 5052
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13803,"slaintakeDate":"2022-11-15T18:34:13.571Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:34:13.571Z","amount":61.0}],"appFees":{"appFees":[{"licenseName":"All night ","applicationId":"NA-0527-22-19014","applicationTypeId":1,"appFeesId":0,"appId":13803,"feesRefId":7147,"initialFees":0.0,"licensingFees":51,"amendmentFees":"0.00","renewalFees":"0","totalFees":61.0,"filingFees":"10","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":61.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:10.942Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13803,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13803,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13803,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13803,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:13.900 response time in milliseconds: 326
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:04:10 GMT
5 < Content-Length: 4
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
1
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
3
931
When method post
551
18:34:13.911 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30720
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13803,"formID":1095,"applicationID":"NA-0527-22-19014","formName":"All night ","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Spring Valley","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:34:14.456 response time in milliseconds: 544
6 < 200
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:04:11 GMT
6 < Content-Length: 50
{"appId":13803,"applicationId":"NA-0527-22-19014"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
281
18:34:14.460 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13803
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:34:14.738 response time in milliseconds: 277
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:04:11 GMT
7 < Content-Length: 642
[{"licenseName":"All night ","applicationId":"NA-0527-22-19014","applicationTypeId":1,"appFeesId":3035,"appId":13803,"feesRefId":7147,"initialFees":0.0,"licensingFees":51.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":10.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":1,"termDesc":"1 x","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
1
18:34:14.741 [print] 3035
943
And def appFeesId1 = response[0].appFeesId
1
944
And def feesRefId1 = response[0].feesRefId
1
945
And print appFeesId1
1
18:34:14.743 [print] 3035
946
And print feesRefId1
1
18:34:14.744 [print] 7147
947
And def applicationTypeId = response[0].applicationTypeId
1
948
And print applicationTypeId
1
18:34:14.747 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
1
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
1
18:34:14.749 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:34:14.750 [print] 0
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:34:14.750 [print] 61
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
971
When method post
413
18:34:14.754 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13803/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5456
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2298,"appId":13803,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:34:13.571Z","slaintakeDate":"2022-11-15T18:34:13.571Z","amount":40000.0,"appliedTo":null,"amountUsed":40000.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:34:13.571Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"All night ","applicationId":"NA-0527-22-19014","applicationTypeId":1,"appFeesId":7147,"appId":13803,"feesRefId":7147,"initialFees":0,"licensingFees":51,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"61","filingFees":"10","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":-39939.0,"amountReceived":40000.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13803,"checkDetailId":2298,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":40000.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:10.942Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13803,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13803,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13803,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13803,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:15.165 response time in milliseconds: 410
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:04:11 GMT
true
972
Then status 200
0
973
And print response
1
18:34:15.167 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
3
981
When method post
376
18:34:15.173 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30720
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13803,"formID":1095,"applicationID":"NA-0527-22-19014","formName":"All night ","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Spring Valley","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:34:15.546 response time in milliseconds: 373
9 < 200
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:04:12 GMT
9 < Content-Length: 50
{"appId":13803,"applicationId":"NA-0527-22-19014"}
982
Then status 200
0
983
And def serverResponse = response
0
141
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
2668
>>
karate.UseCases.LicensesCommonMethods
2069
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
1203
18:34:16.158 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13803,"wfType":null}
18:34:17.359 response time in milliseconds: 1201
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:14 GMT
1 < Content-Length: 122
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13803,"applicationId":"NA-0527-22-19014","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
7
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
849
>>
karate.UseCases.LicensesCommonMethods
374
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
1
1195
* def dbSts = db.cleanHeap()
173
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
184
18:34:18.002 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13803
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:18.185 response time in milliseconds: 183
1 < 200
1 < Content-Length: 215
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:14 GMT
{"applicationId":"NA-0527-22-19014","submitDate":"2022-11-15T08:04:13.593","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
1
1204
And def licStatus = response.appStatus.statusDescription
1
1205
And print licStatus
1
18:34:18.189 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
4
143
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
2436
>>
karate.UseCases.LicensesCommonMethods
1682
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
252
18:34:18.985 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13803,"examinerId":1069,"priority":"Normal"}]
18:34:19.235 response time in milliseconds: 250
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:16 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1419
>>
karate.UseCases.LicensesCommonMethods
478
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
206
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
259
18:34:20.377 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13803
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:20.635 response time in milliseconds: 257
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:17 GMT
1 < Content-Length: 215
{"applicationId":"NA-0527-22-19014","submitDate":"2022-11-15T08:04:13.593","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
1
1205
And print licStatus
1
18:34:20.637 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
3
145
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
906
>>
karate.UseCases.LicensesCommonMethods
334
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
1
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
316
18:34:21.240 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 95
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0527-22-19014"}]
18:34:21.552 response time in milliseconds: 312
1 < 200
1 < Content-Length: 467
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:17 GMT
{"data":[{"acaId":13803,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":null,"dba":null,"licenseDescription":"All night ","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":" ","applicantAddress":null,"feinSsn":null,"formId":1095,"applicationId":"NA-0527-22-19014","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:34:21.554 [print] {
"data": [
{
"acaId": 13803,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": null,
"dba": null,
"licenseDescription": "All night ",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": " ",
"applicantAddress": null,
"feinSsn": null,
"formId": 1095,
"applicationId": "NA-0527-22-19014",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
8
146
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalToDefineDeficiencies') {expStatus:'Additional Info Required'}
2269
>>
karate.UseCases.LicensesCommonMethods
1686
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Examiner Review Approval to FBPTQueue *********************
4927
* def summisionDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
4938
* def formatedSumbitDate = summisionDate()
1
4939
Given path '/internalapi/api/application/'+appId
0
4940
* def dbSts = db.cleanHeap()
117
4941
And header authorization = 'Bearer ' + strToken
1
4942
And header Content-Type = 'application/json; charset=utf-8'
0
4943
And header Accept = 'application/json; text/plain;*/*'
0
4944
And configure continueOnStepFailure = true
0
4945
And request {}
0
4946
When method get
280
18:34:22.277 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/13803
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:22.555 response time in milliseconds: 277
1 < 200
1 < Content-Length: 2443
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:19 GMT
{"applicationCategory":5,"appId":13803,"applicationId":"NA-0527-22-19014","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1489,"formId":1095,"legalName":null,"submitDate":"2022-11-15T08:04:13.593","isGISRequired":false,"licenseDescription":"All night ","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"11/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":true,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2675,"appId":13803,"examinerId":1069,"name":null,"assignDate":"2022-11-15T08:04:16.423","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":398,"type":"2","category":"5","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":398,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":4,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T08:04:16.44"}
4947
* configure continueOnStepFailure = true
0
4948
Then status 200
0
4949
And def formVersionId = response.formVersionId
1
4950
And print formVersionId
1
18:34:22.557 [print] 1489
4951
And def formId = response.formId
0
4952
And print formId
1
18:34:22.558 [print] 1095
4953
And def legalName = response.legalName
0
4954
And print legalName
1
18:34:22.560 [print] null
4955
And def submitDate = response.submitDate
0
4956
And print submitDate
1
18:34:22.561 [print] 2022-11-15T08:04:13.593
4957
And def modifiedDate = response.modifiedDate
0
4958
And print modifiedDate
1
18:34:22.562 [print] 2022-11-15T08:04:16.44
4960
And def pastDueDate = response.pastDueDate
0
4961
And print pastDueDate
1
18:34:22.563 [print] 11/22/2022 12:00:00 AM
4963
And def appExaminerId = response.assignAppExaminer.appExaminerId
0
4964
And print appExaminerId
1
18:34:22.564 [print] 2675
4965
And def examinerId = response.assignAppExaminer.examinerId
0
4966
And print examinerId
1
18:34:22.565 [print] 1069
4967
And def assignDate = response.assignAppExaminer.assignDate
0
4968
And print assignDate
1
18:34:22.566 [print] 2022-11-15T08:04:16.423
4969
And def licPermitTypeId = response.licePermitType.licPermitTypeId
0
4970
And print licPermitTypeId
1
18:34:22.567 [print] 398
4971
And def type = response.licePermitType.type
1
4972
And print type
1
18:34:22.569 [print] 2
4973
And def category = response.licePermitType.category
0
4974
And print category
1
18:34:22.570 [print] 5
4975
And def product = response.licePermitType.product
0
4976
And print product
1
18:34:22.571 [print]
4977
And def licenseDescription = response.licenseDescription
0
4978
And print licenseDescription
1
18:34:22.573 [print] All night
4981
Given path '/internalapi/api/licensing/examiner-review/SaveNewPermit'
0
4983
* def formatedSumbitDate = summisionDate()
2
4984
And header authorization = 'Bearer ' + strToken
0
4985
And header current-wfroleid = 4
4
4986
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":6,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":2,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":false,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":2,"statusDescription":"IntakeComplete","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"2","category":"6","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":true,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":4120,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":4122,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":'#(appId)',"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1526,"newComments":"","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"Test Automation for Define Deficiency","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
4
4987
When method post
501
18:34:22.587 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewPermit
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 14745
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":6,"appId":13803,"applicationId":"NA-0527-22-19014","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1489,"formId":1095,"legalName":null,"submitDate":"2022-11-15T18:34:22.574","isGISRequired":null,"licenseDescription":"All night ","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"Spring Valley","priority":"Normal","expirationDate":null,"appStatusId":2,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":false,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":2,"statusDescription":"IntakeComplete","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2675,"appId":13803,"examinerId":1069,"name":null,"assignDate":"2022-11-15T18:34:22.574","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":398,"type":"2","category":"6","product":"All night","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":398,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":true,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T18:34:22.574"},"appId":13803,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":4120,"email":"vdsouza@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":4122,"email":"vdsouza@svam.com","appId":13803,"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":13803,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1526,"newComments":"","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"Test Automation for Define Deficiency","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
18:34:23.083 response time in milliseconds: 495
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:19 GMT
true
4988
Then status 200
0
4989
* match response == 'true'
1
4990
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
747
>>
karate.UseCases.LicensesCommonMethods
292
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
122
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
159
18:34:23.660 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13803
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:23.817 response time in milliseconds: 157
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:21 GMT
1 < Content-Length: 224
{"applicationId":"NA-0527-22-19014","submitDate":"2022-11-15T08:04:13.593","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Additional Info Required"},"isLicenseApplication":false,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
1
1205
And print licStatus
1
18:34:23.819 [print] Additional Info Required
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
2
147
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
650
>>
karate.UseCases.LicensesCommonMethods
209
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
199
18:34:24.281 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 95
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0527-22-19014"}]
18:34:24.478 response time in milliseconds: 196
1 < 200
1 < Content-Length: 467
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:21 GMT
{"data":[{"acaId":13803,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":null,"dba":null,"licenseDescription":"All night ","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":" ","applicantAddress":null,"feinSsn":null,"formId":1095,"applicationId":"NA-0527-22-19014","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
2
18:34:24.480 [print] {
"data": [
{
"acaId": 13803,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": null,
"dba": null,
"licenseDescription": "All night ",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": " ",
"applicantAddress": null,
"feinSsn": null,
"formId": 1095,
"applicationId": "NA-0527-22-19014",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
2
149
* def extendedDueDate = fundDueDateFunc1(15)
2
150
And print extendedDueDate
0
18:34:24.488 [print] 2022-11-30
151
* def approvedStatus = true
0
152
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
1663
18:34:26.152 classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:152
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
match failed: CONTAINS
$ | data types don't match (NULL:STRING)
null
'2022-11-30'
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:152
>>
karate.UseCases.LicensesCommonMethods
1120
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2311
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2312
And header authorization = 'Bearer ' + strToken
0
2313
And request ''
0
2314
When method get
184
18:34:25.037 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13803/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:34:25.221 response time in milliseconds: 182
1 < 200
1 < Content-Length: 1969
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:22 GMT
{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25088,"email":"sbandi@svam.com","appId":13803,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":13803,"emailContactTypeId":3,"isChecked":true,"roleId":4,"decision":"Define Deficiencies","screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2315
Then status 200
0
2316
And def serverResponse = response
0
2317
* def applicantCommId = serverResponse.applicant.communicationId
1
2318
* def attorneyCommId = serverResponse.attorney.communicationId
0
2320
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2321
And header authorization = 'Bearer ' + strToken
0
2322
And header current-wfroleid = '3'
0
2323
And print extendedDueDate
1
18:34:25.223 [print] 2022-11-30
2324
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
1
#{"extendtoDate":"2022-10-24T14:25:56.000Z","decision":true,"appId":9038,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}}}
#{"extendtoDate":"2022-10-29 ","decision":true,"appId":9038,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
2327
When method post
682
18:34:25.226 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1618
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":"2022-11-30","decision":true,"appId":13803,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":13803,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25088,"email":"sbandi@svam.com","appId":13803,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:34:25.906 response time in milliseconds: 680
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:22 GMT
true
2328
Then status 200
0
2329
And def serverResponse = response
0
2330
And print serverResponse
1
18:34:25.907 [print] true
2331
* match serverResponse == 'true'
0
2332
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2333
And header authorization = 'Bearer ' + strToken
0
2334
And request ''
0
2335
When method get
240
18:34:25.909 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13803
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:34:26.148 response time in milliseconds: 239
3 < 200
3 < Content-Length: 425
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:04:22 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13803,"statusID":0,"decision":null,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2336
Then status 200
0
2337
And def serverResponse = response
0
2338
* match serverResponse.existingData[0].currentDueDate contains extendedDueDate
2
match failed: CONTAINS
$ | data types don't match (NULL:STRING)
null
'2022-11-30'
classpath:karate/UseCases/LicensesCommonMethods.feature:2338match failed: CONTAINS
$ | data types don't match (NULL:STRING)
null
'2022-11-30'
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
Scenario: [2:160]
TC0006_NYS_SLA_Failed_Payment_Extension_Approved
ms: 18299
>>
Background:
3
* url BaseURL
0
18:34:26.170 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
33
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
1
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
# ********* Login Functionality *********************
## ******************** UC_LIC_027_ExtendDueDateOfReturnCheck: TC0006_NYS_SLA_Failed_Payment_Extension_Approved Scenario Start ***************************##
168
* call read('UC_LIC_027_ReturnCheck.feature@TC0002_NYC_SLA_LIC_Update_Application_Send_Notifications'){}
16747
>>
karate.UseCases.UC_LIC_027_ReturnCheck
15418
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
29
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
29
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
41
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
85
* def IndOrgSelectionDropDown = 'Individual'
0
86
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
87
And print indOrgCode
0
18:34:27.559 [print] 1
88
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
89
* def CorporateStructureDropDown = 'Individual'
0
90
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
91
And print CorporateStructureDropDownCode
0
18:34:27.560 [print] 1
92
* def firstName = 'Automation'
0
93
* def lastName = 'Automation'
0
94
* def legalName = firstName+ ' '+lastName
0
95
* def Address1 = 'Address1'
0
96
* def Address2 = 'Address2'
0
97
* def CityName = 'New York'
0
98
* def zipCode = '12345'
0
99
* def postalCode = '1234'
0
100
* def countryName = 'United States (US)'
0
101
* def emailId = 'automation@svam.com'
0
102
* def convictedOfCrime = 1
0
103
* def percentageOfOwners = 20
0
104
* def isFingerprintRequired = true
0
105
* def isFingerprintsApproved = true
0
106
* def isSignature = false
0
108
* def convictedOfCrime = 1
0
109
* def PhoneNumber = '999-999-9999'
0
110
* def PhoneExtn = 1234
0
111
* def countryCode = '+91'
0
112
* def stateCode = 40
0
114
* def mainLicensePermitTypeId = 40
0
115
* def termInYears = 3
0
116
* def termDesc = 3+' Year (s)'
0
117
* def licenseFees = 960
0
118
* def fillingFees = 100
0
119
* def licAncillaryFees = 1000
0
120
* def renewalFees = 30+''
0
121
* string productName = 'RestaurantBeer'+''
0
123
* def CountyId = 12
0
124
* def CountyName = 'New York'
0
125
* def totalFees = licenseFees+fillingFees
0
126
* def amountPaid = totalFees+''
0
127
* def splittedCityName = CityName.replaceAll(" ","")
0
129
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2859
>>
karate.UseCases.LicensesCommonMethods
2219
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1315
>>
karate.UseCases.LicensesCommonMethods
475
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
271
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
193
18:34:29.272 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:29.464 response time in milliseconds: 192
1 < 200
1 < Content-Length: 11712
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:26 GMT
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
39
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
18:34:29.543 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
226
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
241
18:34:29.771 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:34:30.011 response time in milliseconds: 238
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:26 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219015","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219015","parentAppId":13804,"appId":13804,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
1
316
And print ApplicationId
1
18:34:30.012 [print] NA-0111-22-219015
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
2
320
And match ApplicationId contains currentYear
1
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
172
330
And header authorization = 'Bearer ' + strToken
1
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
207
18:34:30.192 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13804
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:34:30.399 response time in milliseconds: 205
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:26 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-219015","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
1
18:34:30.400 [print] Draft
340
And match licStatus == 'Draft'
0
130
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
839
>>
karate.UseCases.LicensesCommonMethods
348
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
2
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
1
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
2
717
When method post
335
18:34:30.910 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13804
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183430","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183430Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:34:31.242 response time in milliseconds: 331
1 < 200
1 < Content-Length: 2190
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:28 GMT
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3953,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183430","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183430Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29171,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25089,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7706,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13118,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29172,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25090,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7707,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9710,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4257,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
131
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
880
>>
karate.UseCases.LicensesCommonMethods
257
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
1
757
* def dt = licDate()
1
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
1
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
249
18:34:31.877 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13804
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Length: 1103
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":1,"percentageOfOwners":20,"isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:34:31.875Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183431","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:34:31.875Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:34:32.124 response time in milliseconds: 247
1 < 200
1 < Content-Length: 1390
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:28 GMT
{"entities":[],"principals":[{"principalId":3234,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5494,"firstName":"Automation20221115183431","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29173,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25091,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
132
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
698
>>
karate.UseCases.LicensesCommonMethods
175
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
167
18:34:32.671 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13804
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:34:32.836 response time in milliseconds: 165
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:30 GMT
true
794
Then status 200
0
795
And def serverResponse = response
0
133
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
3127
>>
karate.UseCases.LicensesCommonMethods
2190
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
2
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
3
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
1
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
240
18:34:33.776 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13804
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:34.014 response time in milliseconds: 237
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:31 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219015","applicationTypeId":1,"appFeesId":0,"appId":13804,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
1
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
1
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
1
18:34:34.019 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
1
861
When method post
173
18:34:34.025 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"}
18:34:34.195 response time in milliseconds: 169
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:31 GMT
false
862
Then status 200
0
863
And print response
1
18:34:34.196 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
3
875
When method post
252
18:34:34.203 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13804/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13804,"slaintakeDate":"2022-11-15T18:34:33.774Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:34:33.774Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219015","applicationTypeId":1,"appFeesId":0,"appId":13804,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:33.766Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:34.452 response time in milliseconds: 248
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:04:31 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
163
18:34:34.453 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13804
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:34:34.615 response time in milliseconds: 161
4 < 200
4 < Content-Length: 442
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:04:31 GMT
[{"checkDetailId":2299,"appId":13804,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:04:31.687","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
1
884
And print checkDetailId
1
18:34:34.617 [print] 2299
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:34:34.618 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
4
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
1
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
920
When method post
232
18:34:34.627 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13804/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13804,"slaintakeDate":"2022-11-15T18:34:34.624Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:34:34.624Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219015","applicationTypeId":1,"appFeesId":0,"appId":13804,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:33.766Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:34.857 response time in milliseconds: 229
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:04:31 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
5
931
When method post
307
18:34:34.868 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13804,"formID":1165,"applicationID":"NA-0111-22-219015","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:34:35.170 response time in milliseconds: 302
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:04:32 GMT
{"appId":13804,"applicationId":"NA-0111-22-219015"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
233
18:34:35.172 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13804
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:34:35.403 response time in milliseconds: 230
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:04:32 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219015","applicationTypeId":1,"appFeesId":3036,"appId":13804,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
1
18:34:35.404 [print] 3036
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
1
18:34:35.406 [print] 3036
946
And print feesRefId1
0
18:34:35.407 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:34:35.408 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:34:35.409 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:34:35.410 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:34:35.410 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
1
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
971
When method post
218
18:34:35.414 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13804/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2299,"appId":13804,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:34:34.624Z","slaintakeDate":"2022-11-15T18:34:34.624Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:34:34.624Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219015","applicationTypeId":1,"appFeesId":6039,"appId":13804,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13804,"checkDetailId":2299,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:33.766Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:35.631 response time in milliseconds: 216
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:04:32 GMT
true
972
Then status 200
0
973
And print response
0
18:34:35.632 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
3
981
When method post
324
18:34:35.641 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13804,"formID":1165,"applicationID":"NA-0111-22-219015","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:34:35.959 response time in milliseconds: 318
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:04:32 GMT
{"appId":13804,"applicationId":"NA-0111-22-219015"}
982
Then status 200
0
983
And def serverResponse = response
0
134
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
1911
>>
karate.UseCases.LicensesCommonMethods
1180
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
302
18:34:36.702 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13804,"wfType":null}
18:34:37.001 response time in milliseconds: 299
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:34 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13804,"applicationId":"NA-0111-22-219015","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
873
>>
karate.UseCases.LicensesCommonMethods
365
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
159
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
198
18:34:37.665 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13804
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:37.862 response time in milliseconds: 197
1 < 200
1 < Content-Length: 216
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:34 GMT
{"applicationId":"NA-0111-22-219015","submitDate":"2022-11-15T08:04:34.137","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
1
1205
And print licStatus
1
18:34:37.864 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
2
135
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
791
>>
karate.UseCases.LicensesCommonMethods
235
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
226
18:34:38.437 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219015"}]
18:34:38.662 response time in milliseconds: 225
1 < 200
1 < Content-Length: 633
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:35 GMT
{"data":[{"acaId":13804,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183430Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219015","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:34:38.663 [print] {
"data": [
{
"acaId": 13804,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183430Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219015",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
2
136
* call read('LicensesCommonMethods.feature@SearchLicenseApplicationByCriteria') {expLicStatus:'Awaiting Review'}
1166
>>
karate.UseCases.LicensesCommonMethods
490
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1759
Given path '/internalapi/api/licensing/search/searchLicenseApplicationByCriteria'
0
1760
And header Content-Type = 'application/json; charset=utf-8'
0
1761
And header Accept = 'application/json; text/plain;*/*'
0
1762
And header authorization = 'Bearer ' + strToken
0
1763
And request {"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":'#(ApplicationId)',"LicensePermitId":null,"LegalName":null,"FEIN":null}
0
1765
When method post
484
18:34:39.349 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicenseApplicationByCriteria
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Length: 164
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":"NA-0111-22-219015","LicensePermitId":null,"LegalName":null,"FEIN":null}
18:34:39.832 response time in milliseconds: 483
1 < 200
1 < Content-Length: 722
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:37 GMT
{"apps":[{"appId":13804,"applicationId":"NA-0111-22-219015","licensePermitId":"","legalName":"Automation20221115183430Automation","fein":null,"status":"IntakeComplete","taskStatus":"Awaiting Review","taskId":1019,"submitDate":"2022-11-15T08:04:34.137","expirationDate":null,"description":"Restaurant-Beer","priority":"Normal","modifiedDate":"2022-11-15T08:04:34.137","isDisapprovedForCause":false,"appStatusId":2,"isActive":true,"premisesId":13118,"addressLine":"Address1, Address2","city":"New York","state":"New York","zipCode":"12345","county":"New York","country":"United States (US)","formId":1165,"isApplication":true,"isPermit":false,"expiryDate":null,"associateApps":[],"apps":[],"totalRecord":0}],"totalRecord":1}
1766
Then status 200
0
1768
* match response.apps[0].taskStatus == expLicStatus
0
137
* call read('LicensesCommonMethods.feature@IsPaymentFailedScenario') {dueDateCount:10,expStatus:'Awaiting Additional Funds'}
2396
>>
karate.UseCases.LicensesCommonMethods
1810
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1213
* eval if(dueDateCount > 0 ) fundDueDate = fundDueDateFunc(dueDateCount)
19
1215
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1224
* def date = getDate2()
2
1227
Given path '/internalapi/api/licensing/app/save'
0
1228
And header authorization = 'Bearer ' + strToken
0
1229
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
2
1230
When method post
304
18:34:40.454 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 30721
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13804,"formID":1165,"applicationID":"NA-0111-22-219015","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:34:40.753 response time in milliseconds: 299
1 < 200
1 < Content-Length: 51
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:37 GMT
{"appId":13804,"applicationId":"NA-0111-22-219015"}
1231
Then status 200
0
1232
And def serverResponse = response
0
1233
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/true'
0
1234
And header Content-Type = 'application/json; charset=utf-8'
0
1235
And header Accept = 'application/json; text/plain;*/*'
0
1236
And header authorization = 'Bearer ' + strToken
0
1237
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"isPaymentFailed":true,"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":'#(licAncillaryFees1)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":1026}
1
1238
When method post
373
18:34:40.755 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13804/true
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
2 > Content-Length: 5295
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2299,"appId":13804,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:34:40.446Z","slaintakeDate":"2022-11-15T18:34:40.446Z","amount":1060.0,"isPaymentFailed":true,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:34:40.446Z","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219015","applicationTypeId":1,"appFeesId":6039,"appId":13804,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-25T18:34:40.442Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13804,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13804,"createdBy":"Tarun Gupta"},"taskId":1026}
18:34:41.127 response time in milliseconds: 372
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:38 GMT
true
1239
Then status 200
0
1240
And print response
1
18:34:41.128 [print] true
1241
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1100
>>
karate.UseCases.LicensesCommonMethods
519
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
354
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
1
1200
And request {}
0
1201
When method get
153
18:34:42.063 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13804
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:42.214 response time in milliseconds: 151
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:39 GMT
1 < Content-Length: 226
{"applicationId":"NA-0111-22-219015","submitDate":"2022-11-15T08:04:34.137","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Additional Funds"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
1
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
1
1205
And print licStatus
1
18:34:42.217 [print] Awaiting Additional Funds
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
2
138
* def fundDueDate1 = fundDueDateFunc1(10)
3
139
* call read('LicensesCommonMethods.feature@GetAndValidateDueDateForLicense') {licAction:'Payment Failed',appStatus:'Awaiting Additional Funds',dueDate:'#(fundDueDate1)'}
713
>>
karate.UseCases.LicensesCommonMethods
185
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1773
Given path '/internalapi/api/licensing/new-license/getDueDates/'+appId
0
1774
And header authorization = 'Bearer ' + strToken
0
1775
And header Content-Type = 'application/json; charset=utf-8'
0
1776
And header Accept = 'application/json; text/plain;*/*'
0
1777
And request ""
0
1778
When method get
174
18:34:42.764 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/getDueDates/13804
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:34:42.936 response time in milliseconds: 172
1 < 200
1 < Content-Length: 312
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:39 GMT
[{"action":"Deficiencies Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0},{"action":"Payment Failed","applicationStatus":"Awaiting Additional Funds","dueDate":"2022-11-25T00:00:00","remainingDays":10},{"action":"Conditions Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0}]
1779
Then status 200
0
1780
And print response
1
18:34:42.938 [print] [
{
"action": "Deficiencies Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
},
{
"action": "Payment Failed",
"applicationStatus": "Awaiting Additional Funds",
"dueDate": "2022-11-25T00:00:00",
"remainingDays": 10
},
{
"action": "Conditions Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
}
]
1782
And def reslicAction = response[1].action
1
1783
And def resAppStatus = response[1].applicationStatus
0
1784
And def resAppDueDate = response[1].dueDate
0
1785
And print reslicAction
0
18:34:42.940 [print] Payment Failed
1786
And print resAppStatus
0
18:34:42.940 [print] Awaiting Additional Funds
1788
And print resAppDueDate
0
18:34:42.940 [print] 2022-11-25T00:00:00
1789
* match reslicAction == licAction
0
1790
* match resAppStatus == appStatus
0
1791
* match resAppDueDate contains dueDate
0
170
* def extendedDueDate = fundDueDateFunc1(15)
1
171
And print extendedDueDate
0
18:34:42.953 [print] 2022-11-30
172
* def approvedStatus = true
0
173
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
1516
>>
karate.UseCases.LicensesCommonMethods
668
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2311
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2312
And header authorization = 'Bearer ' + strToken
0
2313
And request ''
0
2314
When method get
155
18:34:43.808 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13804/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:34:43.961 response time in milliseconds: 153
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:41 GMT
1 < Content-Length: 1959
{"applicant":{"communicationId":25089,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25092,"email":"sbandi@svam.com","appId":13804,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2315
Then status 200
0
2316
And def serverResponse = response
0
2317
* def applicantCommId = serverResponse.applicant.communicationId
0
2318
* def attorneyCommId = serverResponse.attorney.communicationId
0
2320
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2321
And header authorization = 'Bearer ' + strToken
0
2322
And header current-wfroleid = '3'
0
2323
And print extendedDueDate
0
18:34:43.963 [print] 2022-11-30
2324
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
1
#{"extendtoDate":"2022-10-24T14:25:56.000Z","decision":true,"appId":9038,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}}}
#{"extendtoDate":"2022-10-29 ","decision":true,"appId":9038,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
2327
When method post
297
18:34:43.966 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1622
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":"2022-11-30","decision":true,"appId":13804,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":25089,"email":"automation@svam.com","appId":13804,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25092,"email":"sbandi@svam.com","appId":13804,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:34:44.260 response time in milliseconds: 294
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:41 GMT
true
2328
Then status 200
0
2329
And def serverResponse = response
0
2330
And print serverResponse
1
18:34:44.261 [print] true
2331
* match serverResponse == 'true'
0
2332
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2333
And header authorization = 'Bearer ' + strToken
0
2334
And request ''
0
2335
When method get
205
18:34:44.264 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13804
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZGIxZTlhNDYtYjU0MC00MmZiLTgyMTQtYWIwM2FhZDJlYmUwIiwiZXhwIjoxNjY4NTQ2MjYzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.foZQ-lxuKEwpMkhEqm12_CoeQcxD8W0Bfjm6ekh_-II
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:34:44.467 response time in milliseconds: 203
3 < 200
3 < Content-Length: 465
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:04:41 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13804,"statusID":2,"decision":true,"currentDueDate":"2022-11-30T00:00:00","pastDueDate":null,"extendtoDate":null,"status":"Awaiting Additional Funds","userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2336
Then status 200
0
2337
And def serverResponse = response
0
2338
* match serverResponse.existingData[0].currentDueDate contains extendedDueDate
0
Scenario: [3.1:255]
TC0007_NYS_SLA_Deficiency_Due_Date_Extension_Disapproved
ms: 21635
>>
Background:
3
* url BaseURL
0
18:34:44.537 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
41
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
185
* def IndOrgSelectionDropDown = 'Individual'
0
186
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
187
And print indOrgCode
1
18:34:44.581 [print] 1
188
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
189
* def CorporateStructureDropDown = 'Individual'
0
190
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
191
And print CorporateStructureDropDownCode
0
18:34:44.582 [print] 1
192
* def firstName = 'Automation'
0
193
* def lastName = 'Automation'
0
194
* def legalName = firstName+ ' '+lastName
0
195
* def Address1 = 'Address1'
0
196
* def Address2 = 'Address2'
0
197
* def CityName = 'New York'
0
198
* def zipCode = '12345'
0
199
* def postalCode = '1234'
0
200
* def countryName = 'United States (US)'
0
201
* def emailId = 'automation@svam.com'
0
202
* def convictedOfCrime = 1
1
203
* def percentageOfOwners = 20
0
204
* def isFingerprintRequired = true
0
205
* def isFingerprintsApproved = true
0
206
* def isSignature = false
0
208
* def convictedOfCrime = 1
0
209
* def PhoneNumber = '999-999-9999'
0
210
* def PhoneExtn = 1234
0
211
* def countryCode = '+91'
0
212
* def stateCode = 40
0
214
* def mainLicensePermitTypeId = 40
0
215
* def termInYears = 3
0
216
* def termDesc = 3+' Year (s)'
0
217
* def licenseFees = 960
0
218
* def fillingFees = 100
0
219
* def licAncillaryFees = 1000
0
220
* def renewalFees = 30+''
0
221
* string productName = 'RestaurantBeer'+''
0
223
* def CountyId = 12
0
224
* def CountyName = 'New York'
0
225
* def totalFees = licenseFees+fillingFees
0
226
* def splittedCityName = CityName.replaceAll(" ","")
0
229
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2231
>>
karate.UseCases.LicensesCommonMethods
1692
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
847
>>
karate.UseCases.LicensesCommonMethods
301
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
144
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
148
18:34:45.777 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:45.923 response time in milliseconds: 145
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:43 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
2
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
18:34:45.947 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
250
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
184
18:34:46.201 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:34:46.383 response time in milliseconds: 181
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:43 GMT
1 < Content-Length: 234
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219016","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219016","parentAppId":13805,"appId":13805,"formId":1165}]
312
* configure continueOnStepFailure = true
1
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
1
316
And print ApplicationId
1
18:34:46.385 [print] NA-0111-22-219016
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
2
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
206
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
191
18:34:46.596 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13805
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:34:46.786 response time in milliseconds: 190
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:43 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-219016","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
1
18:34:46.788 [print] Draft
340
And match licStatus == 'Draft'
0
230
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
803
>>
karate.UseCases.LicensesCommonMethods
192
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
1
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
1
717
When method post
185
18:34:47.418 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13805
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183447","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183447Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:34:47.602 response time in milliseconds: 184
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:44 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3954,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183447","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183447Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29175,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25093,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7708,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13119,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29176,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25094,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7709,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9711,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4258,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
231
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
806
>>
karate.UseCases.LicensesCommonMethods
232
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
1
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
226
18:34:48.183 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13805
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 1103
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":1,"percentageOfOwners":20,"isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:34:48.182Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183448","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:34:48.182Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:34:48.408 response time in milliseconds: 224
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:44 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3235,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5496,"firstName":"Automation20221115183448","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29177,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25095,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
232
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
636
>>
karate.UseCases.LicensesCommonMethods
175
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
169
18:34:48.887 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13805
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:34:49.055 response time in milliseconds: 167
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:46 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
233
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
6607
>>
karate.UseCases.LicensesCommonMethods
5795
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
3
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
2
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
3331
18:34:49.877 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13805
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:53.206 response time in milliseconds: 3329
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:50 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219016","applicationTypeId":1,"appFeesId":0,"appId":13805,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
1
843
* def licFees = serverResponse[0].licensingFees+''
1
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:34:53.210 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
213
18:34:53.212 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13805,"createdBy":"Tarun Gupta"}
18:34:53.424 response time in milliseconds: 211
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:50 GMT
false
862
Then status 200
0
863
And print response
1
18:34:53.424 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
244
18:34:53.428 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13805/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13805,"slaintakeDate":"2022-11-15T18:34:49.876Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:34:49.876Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219016","applicationTypeId":1,"appFeesId":0,"appId":13805,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:49.868Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13805,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13805,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:53.670 response time in milliseconds: 242
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:04:50 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
204
18:34:53.673 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13805
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:34:53.875 response time in milliseconds: 202
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:04:50 GMT
4 < Content-Length: 442
[{"checkDetailId":2300,"appId":13805,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:04:50.887","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
1
884
And print checkDetailId
1
18:34:53.877 [print] 2300
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:34:53.878 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
364
18:34:53.883 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13805/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13805,"slaintakeDate":"2022-11-15T18:34:53.881Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:34:53.881Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219016","applicationTypeId":1,"appFeesId":0,"appId":13805,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:49.868Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13805,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13805,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:54.245 response time in milliseconds: 362
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:04:50 GMT
5 < Content-Length: 4
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
345
18:34:54.249 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13805,"formID":1165,"applicationID":"NA-0111-22-219016","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:34:54.592 response time in milliseconds: 343
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:04:51 GMT
{"appId":13805,"applicationId":"NA-0111-22-219016"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
299
18:34:54.593 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13805
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:34:54.892 response time in milliseconds: 298
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:04:51 GMT
7 < Content-Length: 660
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219016","applicationTypeId":1,"appFeesId":3037,"appId":13805,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
1
18:34:54.893 [print] 3037
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:34:54.894 [print] 3037
946
And print feesRefId1
0
18:34:54.894 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:34:54.894 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:34:54.895 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:34:54.896 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:34:54.896 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
286
18:34:54.897 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13805/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2300,"appId":13805,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:34:53.881Z","slaintakeDate":"2022-11-15T18:34:53.881Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:34:53.881Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219016","applicationTypeId":1,"appFeesId":6039,"appId":13805,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13805,"checkDetailId":2300,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:34:49.868Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13805,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13805,"createdBy":"Tarun Gupta"},"taskId":null}
18:34:55.182 response time in milliseconds: 285
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:04:51 GMT
true
972
Then status 200
0
973
And print response
0
18:34:55.183 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
477
18:34:55.186 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13805,"formID":1165,"applicationID":"NA-0111-22-219016","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:34:55.661 response time in milliseconds: 475
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:04:52 GMT
{"appId":13805,"applicationId":"NA-0111-22-219016"}
982
Then status 200
0
983
And def serverResponse = response
0
234
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
1931
>>
karate.UseCases.LicensesCommonMethods
1541
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
358
18:34:56.061 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13805,"wfType":null}
18:34:56.417 response time in milliseconds: 356
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:52 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13805,"applicationId":"NA-0111-22-219016","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
1
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1177
>>
karate.UseCases.LicensesCommonMethods
459
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
262
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
188
18:34:57.404 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13805
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:34:57.590 response time in milliseconds: 186
1 < 200
1 < Content-Length: 216
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:54 GMT
{"applicationId":"NA-0111-22-219016","submitDate":"2022-11-15T08:04:53.553","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:34:57.591 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
235
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
676
>>
karate.UseCases.LicensesCommonMethods
239
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
228
18:34:58.043 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219016"}]
18:34:58.269 response time in milliseconds: 225
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:54 GMT
1 < Content-Length: 633
{"data":[{"acaId":13805,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183447Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219016","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
2
18:34:58.271 [print] {
"data": [
{
"acaId": 13805,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183447Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219016",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
2
236
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1948
>>
karate.UseCases.LicensesCommonMethods
1333
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
287
18:34:58.896 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13805,"examinerId":1069,"priority":"Normal"}]
18:34:59.180 response time in milliseconds: 284
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:56 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1041
>>
karate.UseCases.LicensesCommonMethods
413
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
258
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
150
18:35:00.065 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13805
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:00.215 response time in milliseconds: 149
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:57 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-219016","submitDate":"2022-11-15T08:04:53.553","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:35:00.216 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
238
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
657
>>
karate.UseCases.LicensesCommonMethods
163
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
153
18:35:00.721 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219016"}]
18:35:00.873 response time in milliseconds: 152
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:57 GMT
1 < Content-Length: 641
{"data":[{"acaId":13805,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183447Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219016","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:35:00.874 [print] {
"data": [
{
"acaId": 13805,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183447Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219016",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
239
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalWithAllDefineDeficiencies') {expStatus:'Additional Info Required'}
1920
>>
karate.UseCases.LicensesCommonMethods
1393
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* ExaminerReviewApprovalWithAllDefineDeficiencies *********************
4766
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
4774
Given path '/internalapi/api/application/'+appId
0
4775
* def dbSts = db.cleanHeap()
88
4776
And header authorization = 'Bearer ' + strToken
0
4777
And header Content-Type = 'application/json; charset=utf-8'
0
4778
And header Accept = 'application/json; text/plain;*/*'
0
4779
And configure continueOnStepFailure = true
0
4780
And request {}
0
4781
When method get
189
18:35:01.497 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/13805
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:01.684 response time in milliseconds: 186
1 < 200
1 < Content-Length: 2491
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:04:58 GMT
{"applicationCategory":1,"appId":13805,"applicationId":"NA-0111-22-219016","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1712,"formId":1165,"legalName":"Automation20221115183447Automation","submitDate":"2022-11-15T08:04:53.553","isGISRequired":false,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"11/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2676,"appId":13805,"examinerId":1069,"name":null,"assignDate":"2022-11-15T08:04:56.31","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T08:04:56.31"}
4782
* configure continueOnStepFailure = true
0
4783
Then status 200
0
4784
And def formVerID = response.formVersionId
0
4785
And print formVerID
0
18:35:01.685 [print] 1712
4786
And def formId = response.formId
0
4787
And print formId
0
18:35:01.686 [print] 1165
4788
And def legalName = response.legalName
0
4789
And print legalName
0
18:35:01.686 [print] Automation20221115183447Automation
4790
And def submitDate = response.submitDate
0
4791
And print submitDate
0
18:35:01.687 [print] 2022-11-15T08:04:53.553
4793
And def pastDueDate = response.pastDueDate
0
4794
And print pastDueDate
0
18:35:01.687 [print] 11/22/2022 12:00:00 AM
4796
And def appExaminerId = response.assignAppExaminer.appExaminerId
0
4797
And print appExaminerId
0
18:35:01.688 [print] 2676
4798
And def examinerId = response.assignAppExaminer.examinerId
0
4799
And print examinerId
0
18:35:01.688 [print] 1069
4800
And def assignDate = response.assignAppExaminer.assignDate
0
4801
And print assignDate
0
18:35:01.689 [print] 2022-11-15T08:04:56.31
4802
And def licPermitTypeId = response.licePermitType.licPermitTypeId
0
4803
And print licPermitTypeId
0
18:35:01.689 [print] 40
4804
And def type = response.licePermitType.type
0
4805
And print type
0
18:35:01.690 [print] 1
4806
And def category = response.licePermitType.category
0
4807
And print category
0
18:35:01.690 [print] 1
4808
And def product = response.licePermitType.product
0
4809
And print product
0
18:35:01.691 [print] Beer
4810
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
4811
* def formatedSumbitDate = summisionDate()
1
4812
And header authorization = 'Bearer ' + strToken
0
4813
And header current-wfroleid = 4
0
4814
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":3,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":false,"isAllDeficienciesMet":null,"pastDueDate":"1/1/1970 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":'#(examinerId)',"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"3","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":64788,"email":"Automation@test.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":64791,"email":"Automation@test.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"newComments":"DefineDeficiencies Desc","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4},{"id":-2,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP","originalId":5},{"id":-3,"label":"Provide a copy of the corporate minutes for the applicant entity","originalId":6},{"id":-4,"label":"Provide a copy of the LLC operating agreement for the applicant entity","originalId":7},{"id":-5,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership.","originalId":8},{"id":-6,"label":"Premises address does not match the address listed on lease.","originalId":9},{"id":-7,"label":"Premises address does not match the address listed on the bill of sale.","originalId":10},{"id":-8,"label":"Premises address does not match the address listed on the deed.","originalId":11},{"id":-9,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address).","originalId":12},{"id":-10,"label":"Submit a Notice of Appearance or the attorney or representative.","originalId":13},{"id":-11,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. ","originalId":14},{"id":-12,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). ","originalId":15},{"id":-13,"label":"Landlord name must be the name shown on the deed.","originalId":16},{"id":-14,"label":"All principals of the landlord entity must be listed.","originalId":17},{"id":-15,"label":"To verify ownership, submit a copy of the deed.","originalId":18},{"id":-16,"label":"The source of ALL funds (cash and borrowed) must be listed on this form.","originalId":19},{"id":-17,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended.","originalId":20},{"id":-18,"label":"Submit a copy of all executed loan agreements. ","originalId":21},{"id":-19,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment.","originalId":22},{"id":-20,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license.","originalId":23},{"id":-21,"label":"Please complete the Statement of Area Plan form","originalId":24},{"id":-22,"label":"Provide a personal questionnaire for __________________.","originalId":25},{"id":-23,"label":"Please list gender on _________'s personal questionnaire.","originalId":26},{"id":-24,"label":"Provide residence addresses for the last 5 consecutive years.","originalId":27},{"id":-25,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":28},{"id":-26,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","originalId":29},{"id":-27,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":30},{"id":-28,"label":"Amend the diagram labeling all rooms and bars","originalId":31},{"id":-29,"label":"Amend the diagram to include the food prep area","originalId":32},{"id":-30,"label":"Provide a diagram of the basement","originalId":33},{"id":-31,"label":"Provide a block plot diagram","originalId":34},{"id":-32,"label":"Add the outside area to the diagram ","originalId":35},{"id":-33,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo.","originalId":36},{"id":-34,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo.","originalId":37},{"id":-35,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos.","originalId":38},{"id":-36,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":39},{"id":-37,"label":"Provide a copy of ____________'s photo identification.","originalId":40},{"id":-38,"label":"Submit a copy of the menu.","originalId":41},{"id":-39,"label":"Provide proof of citizenship for _________________.","originalId":42},{"id":-40,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment.","originalId":43},{"id":-41,"label":"Submit a copy of the maximum occupancy certificate.","originalId":44},{"id":-42,"label":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-43,"label":"Additional Funds Required","originalId":123},{"id":-44,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","originalId":129},{"id":-45,"label":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-46,"label":"Provide your federal tax identification number.","originalId":131},{"id":-47,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-48,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","originalId":133},{"id":-49,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","originalId":134},{"id":-50,"label":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-51,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-52,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-53,"label":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-54,"label":"Provide your TTB permit.","originalId":139},{"id":-55,"label":"Surrender of the current license in effect.","originalId":140},{"id":-56,"label":"Make the edits listed below to the curriculum.","originalId":141},{"id":-57,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law.","originalId":142},{"id":-58,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65).","originalId":143},{"id":-59,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only).","originalId":144},{"id":-60,"label":"The licensee's and server's responsibility to reasonably supervise the premises.","originalId":145},{"id":-61,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification.","originalId":146},{"id":-62,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age.","originalId":147},{"id":-63,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2).","originalId":148},{"id":-64,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected.","originalId":149},{"id":-65,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained.","originalId":150},{"id":-66,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20).","originalId":151},{"id":-67,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101).","originalId":152},{"id":-68,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives).","originalId":153},{"id":-69,"label":"Provide the New York State Liquor Authority with access to the online course for review.","originalId":154},{"id":-70,"label":"Remove the following content from the applicants' website:","originalId":155},{"id":-71,"label":"Provide the legal name of the applicant.","originalId":156},{"id":-72,"label":"Provide the mailing address of the applicant.","originalId":157},{"id":-73,"label":"Provide the federal id number of the applicant.","originalId":158},{"id":-74,"label":"Provide the applicant's contact phone number.","originalId":159},{"id":-75,"label":"Provide the applicant's email address.","originalId":160},{"id":-76,"label":"Provide the director's name.","originalId":161},{"id":-77,"label":"Provide the director's phone number.","originalId":162},{"id":-78,"label":"Provide the director's email address.","originalId":163},{"id":-79,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats.","originalId":164}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
1
# And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVerID)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"8/12/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":'#(examinerId)',"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":14595,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":14598,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"newComments":""}
4816
When method post
364
18:35:01.695 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 25289
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":3,"appId":13805,"applicationId":"NA-0111-22-219016","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":"#(formVersionId)","formId":1165,"legalName":"Automation20221115183447Automation","submitDate":"2022-11-15T18:35:01.692","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":false,"isAllDeficienciesMet":null,"pastDueDate":"1\/1\/1970 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2676,"appId":13805,"examinerId":1069,"name":null,"assignDate":"2022-11-15T18:35:01.692","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"3","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T18:35:01.692"},"appId":13805,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":64788,"email":"Automation@test.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":64791,"email":"Automation@test.com","appId":13805,"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13805,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"newComments":"DefineDeficiencies Desc","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4},{"id":-2,"label":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP","originalId":5},{"id":-3,"label":"Provide a copy of the corporate minutes for the applicant entity","originalId":6},{"id":-4,"label":"Provide a copy of the LLC operating agreement for the applicant entity","originalId":7},{"id":-5,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership.","originalId":8},{"id":-6,"label":"Premises address does not match the address listed on lease.","originalId":9},{"id":-7,"label":"Premises address does not match the address listed on the bill of sale.","originalId":10},{"id":-8,"label":"Premises address does not match the address listed on the deed.","originalId":11},{"id":-9,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address).","originalId":12},{"id":-10,"label":"Submit a Notice of Appearance or the attorney or representative.","originalId":13},{"id":-11,"label":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. ","originalId":14},{"id":-12,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). ","originalId":15},{"id":-13,"label":"Landlord name must be the name shown on the deed.","originalId":16},{"id":-14,"label":"All principals of the landlord entity must be listed.","originalId":17},{"id":-15,"label":"To verify ownership, submit a copy of the deed.","originalId":18},{"id":-16,"label":"The source of ALL funds (cash and borrowed) must be listed on this form.","originalId":19},{"id":-17,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended.","originalId":20},{"id":-18,"label":"Submit a copy of all executed loan agreements. ","originalId":21},{"id":-19,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment.","originalId":22},{"id":-20,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license.","originalId":23},{"id":-21,"label":"Please complete the Statement of Area Plan form","originalId":24},{"id":-22,"label":"Provide a personal questionnaire for __________________.","originalId":25},{"id":-23,"label":"Please list gender on _________'s personal questionnaire.","originalId":26},{"id":-24,"label":"Provide residence addresses for the last 5 consecutive years.","originalId":27},{"id":-25,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":28},{"id":-26,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","originalId":29},{"id":-27,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":30},{"id":-28,"label":"Amend the diagram labeling all rooms and bars","originalId":31},{"id":-29,"label":"Amend the diagram to include the food prep area","originalId":32},{"id":-30,"label":"Provide a diagram of the basement","originalId":33},{"id":-31,"label":"Provide a block plot diagram","originalId":34},{"id":-32,"label":"Add the outside area to the diagram ","originalId":35},{"id":-33,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo.","originalId":36},{"id":-34,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo.","originalId":37},{"id":-35,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos.","originalId":38},{"id":-36,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":39},{"id":-37,"label":"Provide a copy of ____________'s photo identification.","originalId":40},{"id":-38,"label":"Submit a copy of the menu.","originalId":41},{"id":-39,"label":"Provide proof of citizenship for _________________.","originalId":42},{"id":-40,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment.","originalId":43},{"id":-41,"label":"Submit a copy of the maximum occupancy certificate.","originalId":44},{"id":-42,"label":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-43,"label":"Additional Funds Required","originalId":123},{"id":-44,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","originalId":129},{"id":-45,"label":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-46,"label":"Provide your federal tax identification number.","originalId":131},{"id":-47,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-48,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","originalId":133},{"id":-49,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","originalId":134},{"id":-50,"label":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-51,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-52,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-53,"label":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-54,"label":"Provide your TTB permit.","originalId":139},{"id":-55,"label":"Surrender of the current license in effect.","originalId":140},{"id":-56,"label":"Make the edits listed below to the curriculum.","originalId":141},{"id":-57,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law.","originalId":142},{"id":-58,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65).","originalId":143},{"id":-59,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only).","originalId":144},{"id":-60,"label":"The licensee's and server's responsibility to reasonably supervise the premises.","originalId":145},{"id":-61,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification.","originalId":146},{"id":-62,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age.","originalId":147},{"id":-63,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2).","originalId":148},{"id":-64,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected.","originalId":149},{"id":-65,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained.","originalId":150},{"id":-66,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20).","originalId":151},{"id":-67,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101).","originalId":152},{"id":-68,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives).","originalId":153},{"id":-69,"label":"Provide the New York State Liquor Authority with access to the online course for review.","originalId":154},{"id":-70,"label":"Remove the following content from the applicants' website:","originalId":155},{"id":-71,"label":"Provide the legal name of the applicant.","originalId":156},{"id":-72,"label":"Provide the mailing address of the applicant.","originalId":157},{"id":-73,"label":"Provide the federal id number of the applicant.","originalId":158},{"id":-74,"label":"Provide the applicant's contact phone number.","originalId":159},{"id":-75,"label":"Provide the applicant's email address.","originalId":160},{"id":-76,"label":"Provide the director's name.","originalId":161},{"id":-77,"label":"Provide the director's phone number.","originalId":162},{"id":-78,"label":"Provide the director's email address.","originalId":163},{"id":-79,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats.","originalId":164}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
18:35:02.059 response time in milliseconds: 363
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:04:58 GMT
true
4817
Then status 200
0
4818
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
739
>>
karate.UseCases.LicensesCommonMethods
273
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
113
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
153
18:35:02.635 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13805
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:02.788 response time in milliseconds: 152
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:00 GMT
1 < Content-Length: 225
{"applicationId":"NA-0111-22-219016","submitDate":"2022-11-15T08:04:53.553","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Additional Info Required"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:35:02.789 [print] Additional Info Required
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
2
240
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
649
>>
karate.UseCases.LicensesCommonMethods
155
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
148
18:35:03.295 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219016"}]
18:35:03.442 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:00 GMT
1 < Content-Length: 641
{"data":[{"acaId":13805,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183447Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219016","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:35:03.443 [print] {
"data": [
{
"acaId": 13805,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183447Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219016",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
2
241
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {expStatus:'Additional Info Required'}
807
>>
karate.UseCases.LicensesCommonMethods
300
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
121
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
170
18:35:04.076 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13805
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:04.245 response time in milliseconds: 169
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:01 GMT
1 < Content-Length: 225
{"applicationId":"NA-0111-22-219016","submitDate":"2022-11-15T08:04:53.553","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Additional Info Required"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:35:04.246 [print] Additional Info Required
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
2
243
* call read('LicensesCommonMethods.feature@getDueDateExtension'){}
736
>>
karate.UseCases.LicensesCommonMethods
207
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
2257
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2258
And header authorization = 'Bearer ' + strToken
0
2259
And request ''
0
2260
When method get
199
18:35:04.787 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13805
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:35:04.985 response time in milliseconds: 198
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:01 GMT
1 < Content-Length: 425
{"existingData":[{"applicationDueDateID":0,"appId":13805,"statusID":0,"decision":null,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2261
Then status 200
0
2262
And def serverResponse = response
0
2263
* def currentDueDate = serverResponse.existingData[0].currentDueDate
1
2264
* def pastDueDate = serverResponse.existingData[0].pastDueDate
0
244
* def extendedDueDate = currentDueDate
0
246
* def approvedStatus = false
0
247
And print extendedDueDate
0
18:35:04.993 [print] null
248
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
1180
18:35:06.174 classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:248
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:248
>>
karate.UseCases.LicensesCommonMethods
730
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2311
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2312
And header authorization = 'Bearer ' + strToken
1
2313
And request ''
0
2314
When method get
273
18:35:05.446 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13805/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:35:05.719 response time in milliseconds: 272
1 < 200
1 < Content-Length: 1959
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:02 GMT
{"applicant":{"communicationId":25093,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25096,"email":"sbandi@svam.com","appId":13805,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2315
Then status 200
0
2316
And def serverResponse = response
0
2317
* def applicantCommId = serverResponse.applicant.communicationId
1
2318
* def attorneyCommId = serverResponse.attorney.communicationId
0
2320
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2321
And header authorization = 'Bearer ' + strToken
0
2322
And header current-wfroleid = '3'
0
2323
And print extendedDueDate
0
18:35:05.721 [print] null
2324
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
1
#{"extendtoDate":"2022-10-24T14:25:56.000Z","decision":true,"appId":9038,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}}}
#{"extendtoDate":"2022-10-29 ","decision":true,"appId":9038,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
2327
When method post
279
18:35:05.724 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1615
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":null,"decision":false,"appId":13805,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":25093,"email":"automation@svam.com","appId":13805,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25096,"email":"sbandi@svam.com","appId":13805,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:35:06.001 response time in milliseconds: 277
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:02 GMT
2 < Content-Length: 4
true
2328
Then status 200
0
2329
And def serverResponse = response
0
2330
And print serverResponse
1
18:35:06.002 [print] true
2331
* match serverResponse == 'true'
0
2332
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2333
And header authorization = 'Bearer ' + strToken
0
2334
And request ''
0
2335
When method get
170
18:35:06.004 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13805
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYTRiMTgzY2ItMjY5OC00YTY1LThlOGEtMTM0NGViMDE3Mzk5IiwiZXhwIjoxNjY4NTQ2MjM4LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.YFX_OPtzduMecVd9W2GB8npmmHem2575Gn7gcACmLzM
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:35:06.172 response time in milliseconds: 168
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:05:02 GMT
3 < Content-Length: 425
{"existingData":[{"applicationDueDateID":0,"appId":13805,"statusID":0,"decision":null,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2336
Then status 200
0
2337
And def serverResponse = response
0
2338
* match serverResponse.existingData[0].currentDueDate contains extendedDueDate
0
unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2338unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
Scenario: [4:259]
TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved
ms: 20448
>>
Background:
3
* url BaseURL
0
18:35:06.185 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
25
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_LIC_027_ExtendDueDateOfReturnCheck:TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved Scenario Start ***************************##
262
* call read('UC_LIC_027_ReturnCheck.feature@TC0002_NYC_SLA_LIC_Update_Application_Send_Notifications'){}
18128
>>
karate.UseCases.UC_LIC_027_ReturnCheck
16643
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
27
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
29
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
41
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
85
* def IndOrgSelectionDropDown = 'Individual'
0
86
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
87
And print indOrgCode
0
18:35:07.718 [print] 1
88
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
89
* def CorporateStructureDropDown = 'Individual'
0
90
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
91
And print CorporateStructureDropDownCode
0
18:35:07.718 [print] 1
92
* def firstName = 'Automation'
0
93
* def lastName = 'Automation'
0
94
* def legalName = firstName+ ' '+lastName
0
95
* def Address1 = 'Address1'
0
96
* def Address2 = 'Address2'
0
97
* def CityName = 'New York'
0
98
* def zipCode = '12345'
0
99
* def postalCode = '1234'
0
100
* def countryName = 'United States (US)'
0
101
* def emailId = 'automation@svam.com'
0
102
* def convictedOfCrime = 1
0
103
* def percentageOfOwners = 20
0
104
* def isFingerprintRequired = true
0
105
* def isFingerprintsApproved = true
0
106
* def isSignature = false
0
108
* def convictedOfCrime = 1
0
109
* def PhoneNumber = '999-999-9999'
0
110
* def PhoneExtn = 1234
0
111
* def countryCode = '+91'
0
112
* def stateCode = 40
0
114
* def mainLicensePermitTypeId = 40
0
115
* def termInYears = 3
0
116
* def termDesc = 3+' Year (s)'
0
117
* def licenseFees = 960
0
118
* def fillingFees = 100
0
119
* def licAncillaryFees = 1000
0
120
* def renewalFees = 30+''
0
121
* string productName = 'RestaurantBeer'+''
0
123
* def CountyId = 12
0
124
* def CountyName = 'New York'
0
125
* def totalFees = licenseFees+fillingFees
0
126
* def amountPaid = totalFees+''
0
127
* def splittedCityName = CityName.replaceAll(" ","")
0
129
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2646
>>
karate.UseCases.LicensesCommonMethods
2161
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1363
>>
karate.UseCases.LicensesCommonMethods
814
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
661
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
149
18:35:09.391 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:09.539 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:06 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
2
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
18:35:09.559 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
295
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
156
18:35:09.854 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:35:10.009 response time in milliseconds: 155
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:06 GMT
1 < Content-Length: 234
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219017","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219017","parentAppId":13806,"appId":13806,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
18:35:10.010 [print] NA-0111-22-219017
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
137
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
193
18:35:10.152 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13806
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:35:10.343 response time in milliseconds: 191
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:06 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-219017","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
18:35:10.345 [print] Draft
340
And match licStatus == 'Draft'
0
130
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
683
>>
karate.UseCases.LicensesCommonMethods
191
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
1
717
When method post
186
18:35:10.847 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13806
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183510","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183510Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:35:11.032 response time in milliseconds: 184
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:08 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3955,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183510","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183510Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29179,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25097,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7710,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13120,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29180,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25098,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7711,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9712,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4259,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
131
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
815
>>
karate.UseCases.LicensesCommonMethods
216
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
1
757
* def dt = licDate()
1
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
1
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
209
18:35:11.638 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13806
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Length: 1103
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":1,"percentageOfOwners":20,"isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:35:11.636Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183511","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:35:11.636Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:35:11.846 response time in milliseconds: 208
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:08 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3236,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5498,"firstName":"Automation20221115183511","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29181,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25099,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
132
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
733
>>
karate.UseCases.LicensesCommonMethods
195
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
191
18:35:12.402 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13806
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:35:12.592 response time in milliseconds: 190
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:09 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
133
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2809
>>
karate.UseCases.LicensesCommonMethods
2308
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
330
18:35:13.096 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13806
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:13.426 response time in milliseconds: 329
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:09 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219017","applicationTypeId":1,"appFeesId":0,"appId":13806,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:35:13.429 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
164
18:35:13.431 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"}
18:35:13.592 response time in milliseconds: 161
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:10 GMT
false
862
Then status 200
0
863
And print response
1
18:35:13.593 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
302
18:35:13.597 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13806/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13806,"slaintakeDate":"2022-11-15T18:35:13.095Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:35:13.095Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219017","applicationTypeId":1,"appFeesId":0,"appId":13806,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:35:13.093Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"},"taskId":null}
18:35:13.897 response time in milliseconds: 300
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:05:10 GMT
3 < Content-Length: 4
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
167
18:35:13.900 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13806
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:35:14.064 response time in milliseconds: 164
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:05:10 GMT
4 < Content-Length: 442
[{"checkDetailId":2301,"appId":13806,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:05:11.127","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
18:35:14.066 [print] 2301
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:35:14.066 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
1
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
206
18:35:14.070 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13806/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13806,"slaintakeDate":"2022-11-15T18:35:14.069Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:35:14.069Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219017","applicationTypeId":1,"appFeesId":0,"appId":13806,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:35:13.093Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"},"taskId":null}
18:35:14.275 response time in milliseconds: 205
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:05:10 GMT
5 < Content-Length: 4
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
315
18:35:14.281 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13806,"formID":1165,"applicationID":"NA-0111-22-219017","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:35:14.593 response time in milliseconds: 312
6 < 200
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:05:10 GMT
6 < Content-Length: 51
{"appId":13806,"applicationId":"NA-0111-22-219017"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
230
18:35:14.595 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13806
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:35:14.824 response time in milliseconds: 228
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:05:12 GMT
7 < Content-Length: 660
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219017","applicationTypeId":1,"appFeesId":3038,"appId":13806,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
18:35:14.825 [print] 3038
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:35:14.825 [print] 3038
946
And print feesRefId1
0
18:35:14.825 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:35:14.826 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
65
955
* def licInitialFees1 = licInitialFees+''
1
956
And print licInitialFees1
3
18:35:14.895 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:35:14.896 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:35:14.896 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
971
When method post
248
18:35:14.898 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13806/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2301,"appId":13806,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:35:14.069Z","slaintakeDate":"2022-11-15T18:35:14.069Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:35:14.069Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219017","applicationTypeId":1,"appFeesId":6039,"appId":13806,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13806,"checkDetailId":2301,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:35:13.093Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"},"taskId":null}
18:35:15.145 response time in milliseconds: 247
8 < 200
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:05:12 GMT
8 < Content-Length: 4
true
972
Then status 200
0
973
And print response
0
18:35:15.145 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
0
981
When method post
256
18:35:15.147 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13806,"formID":1165,"applicationID":"NA-0111-22-219017","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:35:15.401 response time in milliseconds: 254
9 < 200
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:05:12 GMT
9 < Content-Length: 51
{"appId":13806,"applicationId":"NA-0111-22-219017"}
982
Then status 200
0
983
And def serverResponse = response
0
134
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
3635
>>
karate.UseCases.LicensesCommonMethods
2682
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
273
18:35:16.361 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13806,"wfType":null}
18:35:16.631 response time in milliseconds: 270
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:13 GMT
1 < Content-Length: 123
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13806,"applicationId":"NA-0111-22-219017","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2403
>>
karate.UseCases.LicensesCommonMethods
1372
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
34
1195
* def dbSts = db.cleanHeap()
1182
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
147
18:35:18.880 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13806
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:19.026 response time in milliseconds: 146
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:16 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-219017","submitDate":"2022-11-15T08:05:13.797","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:35:19.027 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
135
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
844
>>
karate.UseCases.LicensesCommonMethods
213
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
206
18:35:19.676 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219017"}]
18:35:19.880 response time in milliseconds: 204
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:16 GMT
1 < Content-Length: 633
{"data":[{"acaId":13806,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183510Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219017","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:35:19.881 [print] {
"data": [
{
"acaId": 13806,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183510Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219017",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
136
* call read('LicensesCommonMethods.feature@SearchLicenseApplicationByCriteria') {expLicStatus:'Awaiting Review'}
1593
>>
karate.UseCases.LicensesCommonMethods
314
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1759
Given path '/internalapi/api/licensing/search/searchLicenseApplicationByCriteria'
0
1760
And header Content-Type = 'application/json; charset=utf-8'
0
1761
And header Accept = 'application/json; text/plain;*/*'
0
1762
And header authorization = 'Bearer ' + strToken
0
1763
And request {"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":'#(ApplicationId)',"LicensePermitId":null,"LegalName":null,"FEIN":null}
0
1765
When method post
308
18:35:21.168 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicenseApplicationByCriteria
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Length: 164
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":"NA-0111-22-219017","LicensePermitId":null,"LegalName":null,"FEIN":null}
18:35:21.474 response time in milliseconds: 306
1 < 200
1 < Content-Length: 722
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:18 GMT
{"apps":[{"appId":13806,"applicationId":"NA-0111-22-219017","licensePermitId":"","legalName":"Automation20221115183510Automation","fein":null,"status":"IntakeComplete","taskStatus":"Awaiting Review","taskId":1019,"submitDate":"2022-11-15T08:05:13.797","expirationDate":null,"description":"Restaurant-Beer","priority":"Normal","modifiedDate":"2022-11-15T08:05:13.797","isDisapprovedForCause":false,"appStatusId":2,"isActive":true,"premisesId":13120,"addressLine":"Address1, Address2","city":"New York","state":"New York","zipCode":"12345","county":"New York","country":"United States (US)","formId":1165,"isApplication":true,"isPermit":false,"expiryDate":null,"associateApps":[],"apps":[],"totalRecord":0}],"totalRecord":1}
1766
Then status 200
0
1768
* match response.apps[0].taskStatus == expLicStatus
0
137
* call read('LicensesCommonMethods.feature@IsPaymentFailedScenario') {dueDateCount:10,expStatus:'Awaiting Additional Funds'}
2086
>>
karate.UseCases.LicensesCommonMethods
1408
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1213
* eval if(dueDateCount > 0 ) fundDueDate = fundDueDateFunc(dueDateCount)
1
1215
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1224
* def date = getDate2()
0
1227
Given path '/internalapi/api/licensing/app/save'
0
1228
And header authorization = 'Bearer ' + strToken
0
1229
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
1230
When method post
254
18:35:22.159 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 30721
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13806,"formID":1165,"applicationID":"NA-0111-22-219017","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:35:22.411 response time in milliseconds: 252
1 < 200
1 < Content-Length: 51
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:18 GMT
{"appId":13806,"applicationId":"NA-0111-22-219017"}
1231
Then status 200
0
1232
And def serverResponse = response
0
1233
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/true'
0
1234
And header Content-Type = 'application/json; charset=utf-8'
0
1235
And header Accept = 'application/json; text/plain;*/*'
0
1236
And header authorization = 'Bearer ' + strToken
0
1237
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"isPaymentFailed":true,"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":'#(licAncillaryFees1)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":1026}
1
1238
When method post
302
18:35:22.417 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13806/true
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
2 > Content-Length: 5295
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2301,"appId":13806,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:35:22.157Z","slaintakeDate":"2022-11-15T18:35:22.157Z","amount":1060.0,"isPaymentFailed":true,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:35:22.157Z","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219017","applicationTypeId":1,"appFeesId":6039,"appId":13806,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-25T18:35:22.156Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13806,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13806,"createdBy":"Tarun Gupta"},"taskId":1026}
18:35:22.715 response time in milliseconds: 298
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:19 GMT
true
1239
Then status 200
0
1240
And print response
1
18:35:22.716 [print] true
1241
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
843
>>
karate.UseCases.LicensesCommonMethods
398
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
222
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
169
18:35:23.379 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13806
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:23.547 response time in milliseconds: 168
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:19 GMT
1 < Content-Length: 226
{"applicationId":"NA-0111-22-219017","submitDate":"2022-11-15T08:05:13.797","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Additional Funds"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:35:23.548 [print] Awaiting Additional Funds
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
138
* def fundDueDate1 = fundDueDateFunc1(10)
1
139
* call read('LicensesCommonMethods.feature@GetAndValidateDueDateForLicense') {licAction:'Payment Failed',appStatus:'Awaiting Additional Funds',dueDate:'#(fundDueDate1)'}
768
>>
karate.UseCases.LicensesCommonMethods
192
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1773
Given path '/internalapi/api/licensing/new-license/getDueDates/'+appId
0
1774
And header authorization = 'Bearer ' + strToken
0
1775
And header Content-Type = 'application/json; charset=utf-8'
0
1776
And header Accept = 'application/json; text/plain;*/*'
0
1777
And request ""
0
1778
When method get
186
18:35:24.137 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/getDueDates/13806
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:35:24.322 response time in milliseconds: 185
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:21 GMT
1 < Content-Length: 312
[{"action":"Deficiencies Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0},{"action":"Payment Failed","applicationStatus":"Awaiting Additional Funds","dueDate":"2022-11-25T00:00:00","remainingDays":10},{"action":"Conditions Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0}]
1779
Then status 200
0
1780
And print response
1
18:35:24.323 [print] [
{
"action": "Deficiencies Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
},
{
"action": "Payment Failed",
"applicationStatus": "Awaiting Additional Funds",
"dueDate": "2022-11-25T00:00:00",
"remainingDays": 10
},
{
"action": "Conditions Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
}
]
1782
And def reslicAction = response[1].action
0
1783
And def resAppStatus = response[1].applicationStatus
0
1784
And def resAppDueDate = response[1].dueDate
0
1785
And print reslicAction
0
18:35:24.324 [print] Payment Failed
1786
And print resAppStatus
0
18:35:24.324 [print] Awaiting Additional Funds
1788
And print resAppDueDate
0
18:35:24.324 [print] 2022-11-25T00:00:00
1789
* match reslicAction == licAction
0
1790
* match resAppStatus == appStatus
0
1791
* match resAppDueDate contains dueDate
0
263
* call read('LicensesCommonMethods.feature@getDueDateExtension'){}
638
>>
karate.UseCases.LicensesCommonMethods
170
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
2257
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2258
And header authorization = 'Bearer ' + strToken
0
2259
And request ''
0
2260
When method get
166
18:35:24.806 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13806
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:35:24.970 response time in milliseconds: 164
1 < 200
1 < Content-Length: 465
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:21 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13806,"statusID":2,"decision":null,"currentDueDate":"2022-11-25T00:00:00","pastDueDate":null,"extendtoDate":null,"status":"Awaiting Additional Funds","userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2261
Then status 200
0
2262
And def serverResponse = response
0
2263
* def currentDueDate = serverResponse.existingData[0].currentDueDate
0
2264
* def pastDueDate = serverResponse.existingData[0].pastDueDate
0
264
* def extendedDueDate = pastDueDate
0
265
* def currentDueDate = currentDueDate
0
266
* def approvedStatus = false
0
267
And print extendedDueDate
0
18:35:24.978 [print] null
268
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension'){}
1656
18:35:26.633 classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:268
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension'){}
unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2306
classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:268
>>
karate.UseCases.LicensesCommonMethods
571
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2280
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2281
And header authorization = 'Bearer ' + strToken
0
2282
And request ''
0
2283
When method get
147
18:35:26.065 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13806/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:35:26.212 response time in milliseconds: 146
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:23 GMT
1 < Content-Length: 1959
{"applicant":{"communicationId":25097,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25100,"email":"sbandi@svam.com","appId":13806,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2284
Then status 200
0
2285
And def serverResponse = response
0
2286
* def applicantCommId = serverResponse.applicant.communicationId
1
2287
* def attorneyCommId = serverResponse.attorney.communicationId
0
2289
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2290
And header authorization = 'Bearer ' + strToken
0
2291
And header current-wfroleid = '3'
0
2292
And print extendedDueDate
0
18:35:26.214 [print] null
2293
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
1
2294
When method post
251
18:35:26.216 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1615
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":null,"decision":false,"appId":13806,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":25097,"email":"automation@svam.com","appId":13806,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25100,"email":"sbandi@svam.com","appId":13806,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:35:26.466 response time in milliseconds: 248
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:23 GMT
true
2295
Then status 200
0
2296
And def serverResponse = response
0
2297
And print serverResponse
1
18:35:26.467 [print] true
2298
* match serverResponse == 'true'
0
2299
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2300
And header authorization = 'Bearer ' + strToken
0
2301
And request ''
0
2302
When method get
165
18:35:26.470 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13806
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZTJlMGU5MGItYWQ2Ny00YmVkLWE0YjgtZTA1MGIwYjVlOWRmIiwiZXhwIjoxNjY4NTQ2MzAzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.P3sWHeRWhwbmRUEsqARe81VHOavQruVCkM-lBWA5-ds
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:35:26.632 response time in milliseconds: 161
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:05:23 GMT
3 < Content-Length: 449
{"existingData":[{"applicationDueDateID":0,"appId":13806,"statusID":2,"decision":false,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":"Awaiting Additional Funds","userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2303
Then status 200
0
2304
And def serverResponse = response
0
2305
* match currentDueDate contains serverResponse.existingData[0].currentDueDate
0
match failed: CONTAINS
$ | data types don't match (STRING:NULL)
'2022-11-25T00:00:00'
null
classpath:karate/UseCases/LicensesCommonMethods.feature:2305
2306
* match serverResponse.existingData[0].pastDueDate contains extendedDueDate
0
unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2306unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2306
Scenario: [5:276]
TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved
ms: 23576
>>
Background:
3
* url BaseURL
0
18:35:26.637 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
25
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_LIC_027_ExtendDueDateOfReturnCheck:TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved Scenario Start ***************************##
279
* call read('UC_LIC_030_IntakeConditions.feature@TC0006_NYC_SLA_LIC_Intake_Conditions_Mark_Partial_Condition_Met'){}
23550
18:35:50.214 classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:279
* call read('UC_LIC_030_IntakeConditions.feature@TC0006_NYC_SLA_LIC_Intake_Conditions_Mark_Partial_Condition_Met'){}
status code was: 404, expected: 200, response time in milliseconds: 294, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo, response:
classpath:karate/UseCases/LicensesCommonMethods.feature:5359
classpath:karate/UseCases/UC_LIC_030_IntakeConditions.feature:447
classpath:karate/UseCases/UC_PRMT_ExtendDueDate.feature:279
>>
karate.UseCases.UC_LIC_030_IntakeConditions
21947
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
25
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
385
* def IndOrgSelectionDropDown = 'Individual'
0
386
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
387
And print indOrgCode
0
18:35:28.293 [print] 1
388
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
389
* def CorporateStructureDropDown = 'Individual'
0
390
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
391
And print CorporateStructureDropDownCode
0
18:35:28.294 [print] 1
392
* def firstName = 'Automation'
0
393
* def lastName = 'Automation'
0
394
* def legalName = firstName+ ' '+lastName
0
395
* def Address1 = 'Address1'
0
396
* def Address2 = 'Address2'
0
397
* def CityName = 'New York'
0
398
* def zipCode = '12345'
0
399
* def postalCode = '1234'
0
400
* def countryName = 'United States (US)'
0
401
* def emailId = 'automation@svam.com'
0
402
* def convictedOfCrime = '1'
0
403
* def percentageOfOwners = '20'
0
404
* def isFingerprintRequired = true
0
405
* def isFingerprintsApproved = true
0
406
* def isSignature = false
0
408
* def convictedOfCrime = '1'
0
409
* def PhoneNumber = '999-999-9999'
0
410
* def PhoneExtn = 1234
0
411
* def countryCode = '+91'
0
412
* def stateCode = 40
0
414
* def mainLicensePermitTypeId = 40
0
415
* def termInYears = 3
0
416
* def termDesc = 3+' Year (s)'
0
417
* def licenseFees = 960
0
418
* def fillingFees = 100
0
419
* def licAncillaryFees = 1000
0
420
* def renewalFees = 30+''
0
421
* string productName = 'RestaurantBeer'+''
0
423
* def CountyId = 12
0
424
* def CountyName = 'New York'
0
425
* def totalFees = licenseFees+fillingFees
0
426
* def amountPaid = totalFees+''
0
427
* def splittedCityName = CityName.replaceAll(" ","")
1
430
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2211
>>
karate.UseCases.LicensesCommonMethods
1736
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1115
>>
karate.UseCases.LicensesCommonMethods
510
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
357
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
149
18:35:29.694 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:29.842 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:27 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
2
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
18:35:29.866 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
177
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
155
18:35:30.046 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:35:30.199 response time in milliseconds: 153
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:27 GMT
1 < Content-Length: 234
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219018","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219018","parentAppId":13807,"appId":13807,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
18:35:30.200 [print] NA-0111-22-219018
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
119
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
161
18:35:30.322 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13807
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:35:30.482 response time in milliseconds: 159
2 < 200
2 < Content-Length: 185
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:27 GMT
{"applicationId":"NA-0111-22-219018","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
18:35:30.482 [print] Draft
340
And match licStatus == 'Draft'
0
431
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
824
>>
karate.UseCases.LicensesCommonMethods
215
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
1
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
1
717
When method post
205
18:35:31.111 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13807
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183531","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183531Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:35:31.315 response time in milliseconds: 203
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:28 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3956,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183531","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183531Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29183,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25101,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7712,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13121,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29184,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25102,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7713,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9713,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4260,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
432
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
720
>>
karate.UseCases.LicensesCommonMethods
214
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
1
757
* def dt = licDate()
1
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
1
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
207
18:35:31.824 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13807
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:35:31.822Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183531","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:35:31.822Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:35:32.030 response time in milliseconds: 206
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:28 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3237,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5500,"firstName":"Automation20221115183531","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29185,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25103,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
433
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
740
>>
karate.UseCases.LicensesCommonMethods
164
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
159
18:35:32.628 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13807
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:35:32.786 response time in milliseconds: 158
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:30 GMT
true
794
Then status 200
0
795
And def serverResponse = response
0
434
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2727
>>
karate.UseCases.LicensesCommonMethods
2120
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
244
18:35:33.397 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13807
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:33.640 response time in milliseconds: 243
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:30 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219018","applicationTypeId":1,"appFeesId":0,"appId":13807,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:35:33.642 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
157
18:35:33.643 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13807,"createdBy":"Tarun Gupta"}
18:35:33.798 response time in milliseconds: 155
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:31 GMT
false
862
Then status 200
0
863
And print response
1
18:35:33.799 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
219
18:35:33.801 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13807/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13807,"slaintakeDate":"2022-11-15T18:35:33.396Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:35:33.396Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219018","applicationTypeId":1,"appFeesId":0,"appId":13807,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:35:33.393Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13807,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13807,"createdBy":"Tarun Gupta"},"taskId":null}
18:35:34.018 response time in milliseconds: 217
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:05:31 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
148
18:35:34.020 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13807
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:35:34.167 response time in milliseconds: 147
4 < 200
4 < Content-Length: 441
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:05:31 GMT
[{"checkDetailId":2302,"appId":13807,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:05:31.25","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
1
884
And print checkDetailId
0
18:35:34.168 [print] 2302
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:35:34.168 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
205
18:35:34.173 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13807/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13807,"slaintakeDate":"2022-11-15T18:35:34.172Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:35:34.172Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219018","applicationTypeId":1,"appFeesId":0,"appId":13807,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:35:33.393Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13807,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13807,"createdBy":"Tarun Gupta"},"taskId":null}
18:35:34.376 response time in milliseconds: 203
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:05:31 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
356
18:35:34.379 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13807,"formID":1165,"applicationID":"NA-0111-22-219018","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:35:34.733 response time in milliseconds: 354
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:05:31 GMT
{"appId":13807,"applicationId":"NA-0111-22-219018"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
254
18:35:34.735 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13807
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:35:34.988 response time in milliseconds: 253
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:05:32 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219018","applicationTypeId":1,"appFeesId":3039,"appId":13807,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
18:35:34.989 [print] 3039
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:35:34.989 [print] 3039
946
And print feesRefId1
0
18:35:34.990 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:35:34.990 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:35:34.991 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:35:34.991 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:35:34.991 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
211
18:35:34.993 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13807/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2302,"appId":13807,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:35:34.172Z","slaintakeDate":"2022-11-15T18:35:34.172Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:35:34.172Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219018","applicationTypeId":1,"appFeesId":6039,"appId":13807,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13807,"checkDetailId":2302,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:35:33.393Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13807,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13807,"createdBy":"Tarun Gupta"},"taskId":null}
18:35:35.203 response time in milliseconds: 209
8 < 200
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:05:32 GMT
8 < Content-Length: 4
true
972
Then status 200
0
973
And print response
0
18:35:35.203 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
0
981
When method post
308
18:35:35.205 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13807,"formID":1165,"applicationID":"NA-0111-22-219018","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:35:35.512 response time in milliseconds: 306
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:05:32 GMT
{"appId":13807,"applicationId":"NA-0111-22-219018"}
982
Then status 200
0
983
And def serverResponse = response
0
435
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
3494
>>
karate.UseCases.LicensesCommonMethods
2950
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
320
18:35:36.064 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13807,"wfType":null}
18:35:36.383 response time in milliseconds: 319
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:33 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13807,"applicationId":"NA-0111-22-219018","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2624
>>
karate.UseCases.LicensesCommonMethods
1981
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
1774
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
200
18:35:38.802 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13807
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:39.001 response time in milliseconds: 199
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:36 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-219018","submitDate":"2022-11-15T08:05:33.513","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:35:39.001 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
436
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
806
>>
karate.UseCases.LicensesCommonMethods
223
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
1
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
217
18:35:39.597 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219018"}]
18:35:39.814 response time in milliseconds: 217
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:36 GMT
1 < Content-Length: 633
{"data":[{"acaId":13807,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183531Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219018","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:35:39.815 [print] {
"data": [
{
"acaId": 13807,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183531Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219018",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
438
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
2098
>>
karate.UseCases.LicensesCommonMethods
1586
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
219
18:35:40.331 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13807,"examinerId":1069,"priority":"Normal"}]
18:35:40.549 response time in milliseconds: 217
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:37 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1364
>>
karate.UseCases.LicensesCommonMethods
833
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
414
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
414
18:35:41.492 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13807
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:41.904 response time in milliseconds: 412
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:39 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-219018","submitDate":"2022-11-15T08:05:33.513","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
1
1205
And print licStatus
0
18:35:41.906 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
440
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalToLB') {expStatus:'Awaiting Review'}
1861
>>
karate.UseCases.LicensesCommonMethods
1332
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Examiner Review Approval to LB *********************
1149
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1157
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
1158
* def formatedSumbitDate = summisionDate()
1
1159
And header authorization = 'Bearer ' + strToken
0
1160
And header current-wfroleid = 4
0
1161
And request {"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null};
0
1162
When method post
300
18:35:42.447 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > current-wfroleid: 4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 3055
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":13807,"applicationId":"NA-0111-22-219018","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":1165,"legalName":"Automation20221115183531Automation","submitDate":"2022-11-15T18:35:42.445","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":13807,"examinerId":1069,"name":null,"assignDate":"2022-11-15T18:35:42.445","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T18:35:42.445"},"appId":13807,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null}
18:35:42.745 response time in milliseconds: 298
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:39 GMT
1 < Content-Length: 4
true
1163
Then status 200
0
1164
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1025
>>
karate.UseCases.LicensesCommonMethods
578
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
404
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
169
18:35:43.590 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13807
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:43.757 response time in milliseconds: 166
1 < 200
1 < Content-Length: 216
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:41 GMT
{"applicationId":"NA-0111-22-219018","submitDate":"2022-11-15T08:05:33.513","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:35:43.758 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
441
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
609
>>
karate.UseCases.LicensesCommonMethods
162
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
154
18:35:44.226 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219018"}]
18:35:44.380 response time in milliseconds: 154
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:41 GMT
1 < Content-Length: 641
{"data":[{"acaId":13807,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183531Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219018","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:35:44.381 [print] {
"data": [
{
"acaId": 13807,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183531Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219018",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
442
* call read('LicensesCommonMethods.feature@AddLicenseClaimingQueue') {}
639
>>
karate.UseCases.LicensesCommonMethods
211
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
5367
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
5368
And header authorization = 'Bearer ' + strToken
0
5369
And header current-wfroleid = 5
0
5370
And request {}
0
5371
When method post
208
18:35:44.815 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/13807/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:35:45.022 response time in milliseconds: 207
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:42 GMT
true
5372
Then status 200
0
5373
And def serverResponse = response
0
5374
And print serverResponse
0
18:35:45.022 [print] true
443
* def DefineStipulationStatus = true
0
444
* def licStatus = 'Conditionally Approved'
0
445
* call read('LicensesCommonMethods.feature@ApproveLBWithStipulations') {StipulationsCount:2}
1130
>>
karate.UseCases.LicensesCommonMethods
731
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3156
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
3167
* def currentDate = fundDueDateFunc1(0)
1
3168
* def expiryDate = fundDueDateFunc1(30)
1
3169
Given path '/internalapi/api/licensing/new-license/saveDecision'
0
3170
And header authorization = 'Bearer ' + strToken
0
3171
And header current-wfroleid = 5
0
3172
* def payload = ""
0
3173
* def payloadWithReturnToExaminer = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Return to Examiner","value":7},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"returning to examiner queue for correct review"}
0
#* def payloadWithConditionalApprove = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":106,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":109,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":3,"label":"Provide your federal tax identification number"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"conditions":[1],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"]}}
3175
* def payloadWithConditionalApprove = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":4,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":3,"label":"Provide your federal tax identification number"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"},{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"conditions":[1,2,4],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name","Provide a copy of the business certificate from the county clerk for your dba name","Provide a copy of your Certificate of Authority from the New York State Tax Department"]}}
0
3176
* def payloadWithoutStipulations = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":23,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":26,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
0
3177
* def payloadSingle = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":9854,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":'#(DefineStipulationStatus)',"selectInput":{"fromFields":[{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"toFields":[{"id":1,"label":"Inside of premises closes at x"}],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[1],"descriptions":["Inside of premises closes at x"]}}
0
3178
* def payloadmultiple = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":9854,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":true,"selectInput":{"fromFields":[],"toFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"descriptions":["Inside of premises closes at x","Side walk café closes at x","Backyard closes at x","Alcohol consumption inside stops at X","Alcohol consumption in backyard stops at x","Alcohol consumption on sidewalk café stops at x","No live music in inside of premises","No live music outside of premise","No DJs","No promoters","No Promoted events","Recorded music only","Music stops at X","Music outside stops at X","Only non-amplified music","Acoustic music only","No bar crawls","Close façade doors at certain time","Close Windows at a certain time","No boozy brunches","No unlimited drink","No happy Hours","No bottle service ","No dancing","No delivery bikes","No TVs","Licensed patio","Licensed sidewalk café","No outside areas","Security Guards required","X amount of security guards per x amount of patrons","# of security guards per patron","No VIP","No roped lines","No hookah","Doors closed at all times","Windows closed at all time","All agreed upon CB stipulations except","All employees must be TIPS trained","ABC"]}}
0
3179
* eval if (StipulationsCount == 0 && licStatus == 'Approved') payload = payloadWithoutStipulations
0
3180
* eval if (StipulationsCount == 1 && licStatus == 'Approved') payload = payloadSingle
0
3181
* eval if (StipulationsCount > 1 && licStatus == 'Approved') payload = payloadmultiple
2
3182
* eval if (licStatus == 'Conditionally Approved') payload = payloadWithConditionalApprove
0
3183
* eval if (licStatus == 'Return to Examiner') payload = payloadWithReturnToExaminer
0
3184
And request payload
0
3185
And print payload
1
18:35:45.426 [print] {
"isSubmit": true,
"isHoldForCB": false,
"isWaiverReceived": false,
"isBuyerApproved": -1,
"masterFileData": [
],
"combinedCraftData": [
],
"isChainRestaurant": false,
"appId": 13807,
"applicationType": 1,
"applicationId": "NA-0111-22-219018",
"legalName": "Automation20221115183531Automation",
"statusId": 3,
"decisionType": {
"name": "Conditionally Approved",
"value": 5
},
"emailNotificationModel": {
"applicant": {
"communicationId": 4,
"email": "automation@svam.com",
"appId": 13807,
"emailContactTypeId": 1,
"isChecked": true,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"attorney": {
"communicationId": 0,
"email": null,
"appId": 0,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"communityBoard": {
"communicationId": 0,
"email": null,
"appId": 0,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"other": {
"communicationId": 0,
"email": "",
"appId": 13807,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
},
"hasErrors": [
],
"licPermitTypeId": 40,
"taskId": 1151,
"newComments": "",
"conditionalApproval": {
"selectInput": {
"fromFields": [
{
"id": 3,
"label": "Provide your federal tax identification number"
},
{
"id": 5,
"label": "Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."
},
{
"id": 6,
"label": "Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly"
},
{
"id": 7,
"label": "Provide a signed Bond Rider amending____________"
},
{
"id": 8,
"label": "Provide Worker\u2019s Compensation and Disability Benefits insurance provider names and policy numbers"
},
{
"id": 9,
"label": "Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"
},
{
"id": 10,
"label": "Submit a copy of the Newspaper Affidavit(s)"
},
{
"id": 11,
"label": "Provide your TTB permit"
},
{
"id": 12,
"label": "Surrender of the current license in effect"
},
{
"id": 13,
"label": "Other Condition"
}
],
"toFields": [
{
"id": 1,
"label": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name"
},
{
"id": 2,
"label": "Provide a copy of the business certificate from the county clerk for your dba name"
},
{
"id": 4,
"label": "Provide a copy of your Certificate of Authority from the New York State Tax Department"
}
],
"isRewritable": true,
"rewriteLabel": "Edit Condition:",
"additionalComments": "",
"srclabel": "Select",
"dstlabel": "Add to Letter",
"additionalLabel": "Additional Conditions:"
},
"effectiveDate": "2022-11-15",
"expirationDate": "2022-12-15",
"conditions": [
1,
2,
4
],
"descriptions": [
"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"Provide a copy of the business certificate from the county clerk for your dba name",
"Provide a copy of your Certificate of Authority from the New York State Tax Department"
]
}
}
3186
When method post
436
18:35:45.427 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/saveDecision
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 4163
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":13807,"applicationType":1,"applicationId":"NA-0111-22-219018","legalName":"Automation20221115183531Automation","statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":4,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":40,"taskId":1151,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":3,"label":"Provide your federal tax identification number"},{"id":5,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker\u2019s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name"},{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":"2022-11-15","expirationDate":"2022-12-15","conditions":[1,2,4],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name","Provide a copy of the business certificate from the county clerk for your dba name","Provide a copy of your Certificate of Authority from the New York State Tax Department"]}}
18:35:45.863 response time in milliseconds: 435
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:42 GMT
true
3187
Then status 200
0
3188
And def serverResponse = response
0
3189
And print serverResponse
0
18:35:45.863 [print] true
# ********* GET License Id *********************
3194
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3195
And header authorization = 'Bearer ' + strToken
0
3196
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
0
3197
When method get
285
18:35:45.866 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/13807/-1
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2433
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13807,"applicationType":1,"applicationId":"NA-0111-22-219018","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
18:35:46.148 response time in milliseconds: 282
2 < 200
2 < Content-Length: 2837
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:43 GMT
{"license":{"licId":0,"applicationId":null,"licenseId":null,"licensePermitId":null,"licePermitTypeId":40,"appId":null,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T00:00:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3198
Then status 200
0
3199
And def serverResponse = response
0
3200
And print serverResponse
0
18:35:46.149 [print] {
"license": {
"licId": 0,
"applicationId": null,
"licenseId": null,
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": null,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3201
And def licId = serverResponse.license.licId
0
3202
And def licenseId = serverResponse.license.licenseId
0
3203
And print serverResponse
0
18:35:46.150 [print] {
"license": {
"licId": 0,
"applicationId": null,
"licenseId": null,
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": null,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3204
And print 'licId : ' , licId
0
18:35:46.150 [print] licId : 0
3205
And print 'licenseId : ' , licenseId
0
18:35:46.150 [print] licenseId : null
3206
And match licId != []
0
3207
And match licenseId != []
0
446
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Conditionally Approved'}
1292
>>
karate.UseCases.LicensesCommonMethods
190
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
179
18:35:47.268 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219018"}]
18:35:47.441 response time in milliseconds: 173
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:44 GMT
1 < Content-Length: 651
{"data":[{"acaId":13807,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183531Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219018","licenseId":null,"wfRoleId":2,"applicationStatus":"Conditionally Approved","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:35:47.442 [print] {
"data": [
{
"acaId": 13807,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183531Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219018",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Conditionally Approved",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
447
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:true}
2768
18:35:50.214 classpath:karate/UseCases/UC_LIC_030_IntakeConditions.feature:447
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:true}
status code was: 404, expected: 200, response time in milliseconds: 294, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo, response:
classpath:karate/UseCases/LicensesCommonMethods.feature:5359
classpath:karate/UseCases/UC_LIC_030_IntakeConditions.feature:447
>>
karate.UseCases.LicensesCommonMethods
1806
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5310
* def expirationDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
5321
* def expirationDate = expirationDateFunc(90)
2
5322
* def effectiveDate = EffDate()
1
5323
Given path '/internalapi/api/licensing/conditionReview/getConditionsInfo/'+appId
0
5324
* def dbSts = db.cleanHeap()
1162
5325
And header authorization = 'Bearer ' + strToken
1
5326
And header Content-Type = 'application/json'
0
5327
And header current-wfroleid = '3'
0
5328
And header Accept = 'application/json'
0
5329
And request ""
0
5330
When method get
317
18:35:49.579 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/getConditionsInfo/13807
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
1 > Content-Type: application/json; charset=UTF-8
1 > current-wfroleid: 3
1 > Accept: application/json
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:35:49.893 response time in milliseconds: 314
1 < 200
1 < Content-Length: 2959
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:05:47 GMT
{"appId":0,"effectiveDate":"2022-11-15T00:00:00","expirationDate":"2022-12-15T00:00:00","acaType":null,"acaStatus":null,"comment":"","conditionReview":[{"appConditionId":158,"appId":13807,"conditionId":1,"conditionDescriptionDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name","conditionDescription":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:05:42.967","responseDueDate":"2022-12-15T00:00:00","isConditionMet":null,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":159,"appId":13807,"conditionId":2,"conditionDescriptionDetail":"Provide a copy of the business certificate from the county clerk for your dba name","conditionDescription":"Provide a copy of the business certificate from the county clerk for your dba name","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:05:43.02","responseDueDate":"2022-12-15T00:00:00","isConditionMet":null,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":160,"appId":13807,"conditionId":4,"conditionDescriptionDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department","conditionDescription":"Provide a copy of your Certificate of Authority from the New York State Tax Department","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:05:43.027","responseDueDate":"2022-12-15T00:00:00","isConditionMet":null,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"workFlowStatus":0,"workFlowCondition":0,"isSubmit":false,"isSaveResponse":false,"isContitionsMet":false,"istabChangeSave":false,"isRequiredNewCertificate":false,"emailNotificationModel":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}
5331
Then status 200
0
5332
And print response
1
18:35:49.894 [print] {
"appId": 0,
"effectiveDate": "2022-11-15T00:00:00",
"expirationDate": "2022-12-15T00:00:00",
"acaType": null,
"acaStatus": null,
"comment": "",
"conditionReview": [
{
"appConditionId": 158,
"appId": 13807,
"conditionId": 1,
"conditionDescriptionDetail": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"conditionDescription": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:05:42.967",
"responseDueDate": "2022-12-15T00:00:00",
"isConditionMet": null,
"responseReceived": null,
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
{
"appConditionId": 159,
"appId": 13807,
"conditionId": 2,
"conditionDescriptionDetail": "Provide a copy of the business certificate from the county clerk for your dba name",
"conditionDescription": "Provide a copy of the business certificate from the county clerk for your dba name",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:05:43.02",
"responseDueDate": "2022-12-15T00:00:00",
"isConditionMet": null,
"responseReceived": null,
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
{
"appConditionId": 160,
"appId": 13807,
"conditionId": 4,
"conditionDescriptionDetail": "Provide a copy of your Certificate of Authority from the New York State Tax Department",
"conditionDescription": "Provide a copy of your Certificate of Authority from the New York State Tax Department",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:05:43.027",
"responseDueDate": "2022-12-15T00:00:00",
"isConditionMet": null,
"responseReceived": null,
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
],
"workFlowStatus": 0,
"workFlowCondition": 0,
"isSubmit": false,
"isSaveResponse": false,
"isContitionsMet": false,
"istabChangeSave": false,
"isRequiredNewCertificate": false,
"emailNotificationModel": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
5333
* def appConditionId = response.conditionReview[0].appConditionId
1
5334
* def conditionDefinedDate = response.conditionReview[0].conditionDefinedDate
0
5335
* def conditionId = response.conditionReview[0].conditionId
0
5336
* def conditionDescription = response.conditionReview[0].conditionDescription
0
5337
* def conditionDescriptionDetail = response.conditionReview[0].conditionDescriptionDetail
0
5338
* def responseDueDate = response.conditionReview[0].responseDueDate
0
5339
* def taskDecision = response.conditionReview[0].taskDecision
0
5340
* def taskId = response.conditionReview[0].taskId
0
5341
Given path '/internalapi/api/licensing/conditionReview/saveConditionsInfo'
0
5342
And header Content-Type = 'application/json; charset=utf-8'
0
5343
And header Accept = 'application/json; text/plain;*/*'
0
5344
And header authorization = 'Bearer ' + strToken
0
5345
* def responseDueDate = expirationDate + "T00:00:00"
0
5346
And print isConditionMet
0
18:35:49.897 [print] true
5347
* def payload = ""
0
5348
* def payloadWithYesConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":-1,"conditionDescriptionDetail":"test","conditionDescription":"test","createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":["Automation test"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6712,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6715,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5349
* def payloadWithNoConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":false,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":-1,"conditionDescriptionDetail":"test","conditionDescription":"test","createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":false,"responseReceived":["Automation test response"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6712,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6715,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5350
* def payloadWithoutConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":null,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"Test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6704,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6707,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5351
* def payloadWithPartialConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":2,"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"":false,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":3,"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":false,"emailNotificationModel":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5352
* eval if (isConditionMet == true) payload = payloadWithYesConditionMet
1
5353
* eval if (isConditionMet == false) payload = payloadWithNoConditionMet
0
5354
* eval if (isConditionMet == null) payload = payloadWithoutConditionMet
15
#* eval if (isConditionMet == 'Partial') payload = payloadWithPartialConditionMet
5356
And request payload
0
5357
And print payload
1
18:35:49.915 [print] {
"effectiveDate": "2022-11-15",
"expirationDate": "2023-02-13",
"conditionReview": [
{
"appConditionId": 158,
"appId": 13807,
"conditionId": 1,
"conditionDescriptionDetail": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"conditionDescription": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:05:42.967",
"responseDueDate": "2023-02-13T00:00:00",
"isConditionMet": true,
"responseReceived": [
"adding Test Response message"
],
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
{
"appConditionId": 158,
"appId": 13807,
"conditionId": -1,
"conditionDescriptionDetail": "test",
"conditionDescription": "test",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:05:42.967",
"responseDueDate": "2023-02-13T00:00:00",
"isConditionMet": true,
"responseReceived": [
"Automation test"
],
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
],
"appId": 13807,
"comment": "test",
"taskId": 1201,
"taskDecision": 100,
"isSaveResponse": false,
"isSubmit": true,
"emailNotificationModel": {
"applicant": {
"communicationId": 6712,
"email": "automation@svam.com",
"appId": 13807,
"emailContactTypeId": 1,
"isChecked": true,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"attorney": {
"communicationId": 6715,
"email": "sbandi@svam.com",
"appId": 13807,
"emailContactTypeId": 2,
"isChecked": true,
"roleId": 0,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"communityBoard": {
"communicationId": 0,
"email": null,
"appId": 0,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"other": {
"communicationId": 0,
"email": "",
"appId": 13807,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
}
}
5358
When method post
297
18:35:49.917 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiMmM2M2Y3OGQtYzk1Ny00YWRjLTllMWItM2YwNmM5YTUxZTJhIiwiZXhwIjoxNjY4NTQ2MzI0LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.75ApUYPKn_vk-65h0m4DepUVtBdNbkxE3nXHtnABt7c
2 > Content-Length: 3663
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"effectiveDate":"2022-11-15","expirationDate":"2023-02-13","conditionReview":[{"appConditionId":158,"appId":13807,"conditionId":1,"conditionDescriptionDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name","conditionDescription":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:05:42.967","responseDueDate":"2023-02-13T00:00:00","isConditionMet":true,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":158,"appId":13807,"conditionId":-1,"conditionDescriptionDetail":"test","conditionDescription":"test","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:05:42.967","responseDueDate":"2023-02-13T00:00:00","isConditionMet":true,"responseReceived":["Automation test"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":13807,"comment":"test","taskId":1201,"taskDecision":100,"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6712,"email":"automation@svam.com","appId":13807,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6715,"email":"sbandi@svam.com","appId":13807,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13807,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
18:35:50.211 response time in milliseconds: 294
2 < 404
2 < Transfer-Encoding: chunked
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:05:47 GMT
5359
Then status 200
0
18:35:50.212 classpath:karate/UseCases/LicensesCommonMethods.feature:5359
Then status 200
status code was: 404, expected: 200, response time in milliseconds: 294, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo, response:
classpath:karate/UseCases/LicensesCommonMethods.feature:5359
5360
And print response
0
5361
* match response == 'true'
0
448
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:false}
0
449
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:null}
0
450
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Active'}
0
452
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {expStatus:'#(licStatus)'}
0
280
* call read('LicensesCommonMethods.feature@getDueDateExtension'){}
0
281
* def extendedDueDate = currentDueDate
0
283
* def approvedStatus = false
0
284
And print extendedDueDate
0
285
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension'){}
0